Skip to content

Commit 38374f6

Browse files
Refactor CI workflow for Rust testing
Updated CI workflow to use rust-toolchain action and install dependencies.
1 parent 40a1de2 commit 38374f6

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ jobs:
99
name: Run Tests
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v6
13-
- run: rustup update stable && rustup default stable
14-
- run: cargo test --verbose
12+
- name: checkout
13+
uses: actions/checkout@v6
14+
- name: rust-toolchain
15+
uses: actions-rs/toolchain@v1.0.6
16+
with:
17+
toolchain: stable
18+
- name: install linux deps
19+
run: >
20+
sudo apt-get update
21+
sudo apt-get install --no-install-recommends libwayland-dev libxkbcommon-dev libx264-164 libx264-dev
22+
- run: cargo test

0 commit comments

Comments
 (0)