Skip to content

Commit 0ecd338

Browse files
committed
CI: Move ubuntu dependencies under test job
1 parent 870d529 commit 0ecd338

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,6 @@ jobs:
2121
uses: dtolnay/rust-toolchain@stable
2222
with:
2323
components: rustfmt
24-
25-
- name: Install Linux dependencies
26-
if: runner.os == 'Linux'
27-
run: |
28-
sudo apt-get update
29-
sudo apt-get install -y libxcb1-dev libxkbcommon-dev libxkbcommon-x11-dev
3024

3125
- name: Check formatting
3226
run: cargo fmt --all -- --check
@@ -79,6 +73,12 @@ jobs:
7973
uses: dtolnay/rust-toolchain@master
8074
with:
8175
toolchain: ${{ matrix.rust }}
76+
77+
- name: Install Linux dependencies
78+
if: runner.os == 'Linux'
79+
run: |
80+
sudo apt-get update
81+
sudo apt-get install -y libxcb1-dev libxkbcommon-dev libxkbcommon-x11-dev
8282
8383
- name: Cache cargo registry
8484
uses: actions/cache@v4

0 commit comments

Comments
 (0)