Skip to content

Commit c2cee33

Browse files
authored
Fix dependancies
1 parent 988cd2c commit c2cee33

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ jobs:
3131
components: rustfmt, clippy
3232
override: true
3333
- name: Install Dependancies
34-
with:
35-
command: sudo apt-get install
36-
args: libglib2.0-dev
34+
run: sudo apt-get install -y libglib2.0-dev
3735
- name: Run cargo fmt
3836
uses: actions-rs/cargo@v1
3937
with:
@@ -57,6 +55,8 @@ jobs:
5755
profile: ${{ env.TOOLCHAIN_PROFILE }}
5856
toolchain: ${{ env.RUST_TOOLCHAIN }}
5957
override: true
58+
- name: Install Dependancies
59+
run: sudo apt-get install -y libglib2.0-dev
6060
- name: Run Build for Linux
6161
uses: actions-rs/cargo@v1
6262
with:
@@ -75,6 +75,8 @@ jobs:
7575
profile: ${{ env.TOOLCHAIN_PROFILE }}
7676
toolchain: ${{ env.RUST_TOOLCHAIN }}
7777
override: true
78+
- name: Install Dependancies
79+
run: sudo apt-get install -y libglib2.0-dev
7880
- name: Run cargo test -no-run
7981
uses: actions-rs/cargo@v1
8082
with:
@@ -99,6 +101,8 @@ jobs:
99101
toolchain: ${{ env.RUST_TOOLCHAIN }}
100102
components: llvm-tools-preview
101103
override: true
104+
- name: Install Dependancies
105+
run: sudo apt-get install -y libglib2.0-dev
102106
- name: Generate coverage
103107
# runs cargo with defaults flags, using the default `lcov` output
104108
uses: Swatinem/fucov@v1

0 commit comments

Comments
 (0)