ci: drop sudo for libopus install (act job containers run as root)
Some checks failed
Some checks failed
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
components: clippy
|
components: clippy
|
||||||
- name: Install libopus (media crate FFI dep)
|
- name: Install libopus (media crate FFI dep)
|
||||||
run: sudo apt-get update && sudo apt-get install -y libopus-dev
|
run: apt-get update && apt-get install -y libopus-dev
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- run: cargo clippy --all -- -D warnings
|
- run: cargo clippy --all -- -D warnings
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.toolchain }}
|
toolchain: ${{ matrix.toolchain }}
|
||||||
- name: Install libopus (media crate FFI dep)
|
- name: Install libopus (media crate FFI dep)
|
||||||
run: sudo apt-get update && sudo apt-get install -y libopus-dev
|
run: apt-get update && apt-get install -y libopus-dev
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- run: cargo test --all
|
- run: cargo test --all
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user