Skip to content

Commit

Permalink
fix: ci warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
marcioecom committed Jul 16, 2024
1 parent 688614f commit 8b8c83c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 18 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/libvmexeccapi-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
default: true
toolchain: 1.77.1
- name: Add tragets
- name: Setup toolchain
run: rustup default 1.77.1
- name: Add targets
run: |
rustup target add aarch64-unknown-linux-gnu
rustup target add aarch64-apple-darwin
Expand Down
21 changes: 8 additions & 13 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
default: true
toolchain: 1.77.1
- name: Setup toolchain
run: rustup default 1.77.1
- name: Run rust tests
run: cargo test
clippy_check:
Expand All @@ -25,12 +23,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.77.1
components: clippy
default: true
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Setup toolchain
run: |
rustup default 1.77.1
rustup component add clippy
- name: Run clippy
run: cargo clippy --all-features

0 comments on commit 8b8c83c

Please sign in to comment.