Skip to content

Commit 8badd21

Browse files
authored
fix: ci warnings (#5)
1 parent 688614f commit 8badd21

File tree

2 files changed

+11
-18
lines changed

2 files changed

+11
-18
lines changed

.github/workflows/libvmexeccapi-build.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@ jobs:
3232
steps:
3333
- name: Checkout
3434
uses: actions/checkout@v4
35-
- uses: actions-rs/toolchain@v1
36-
with:
37-
default: true
38-
toolchain: 1.77.1
39-
- name: Add tragets
35+
- name: Setup toolchain
36+
run: rustup default 1.77.1
37+
- name: Add targets
4038
run: |
4139
rustup target add aarch64-unknown-linux-gnu
4240
rustup target add aarch64-apple-darwin

.github/workflows/rust-ci.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- uses: actions-rs/toolchain@v1
17-
with:
18-
default: true
19-
toolchain: 1.77.1
16+
- name: Setup toolchain
17+
run: rustup default 1.77.1
2018
- name: Run rust tests
2119
run: cargo test
2220
clippy_check:
@@ -25,12 +23,9 @@ jobs:
2523
runs-on: ubuntu-latest
2624
steps:
2725
- uses: actions/checkout@v4
28-
- uses: actions-rs/toolchain@v1
29-
with:
30-
toolchain: 1.77.1
31-
components: clippy
32-
default: true
33-
- uses: actions-rs/clippy-check@v1
34-
with:
35-
token: ${{ secrets.GITHUB_TOKEN }}
36-
args: --all-features
26+
- name: Setup toolchain
27+
run: |
28+
rustup default 1.77.1
29+
rustup component add clippy
30+
- name: Run clippy
31+
run: cargo clippy --all-features

0 commit comments

Comments
 (0)