Skip to content

Commit

Permalink
Fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarumych committed Jul 14, 2023
1 parent a7b06b7 commit 735f821
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ jobs:
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
toolchain: nightly
command: test
args: --all --all-features
1 change: 1 addition & 0 deletions .github/workflows/check-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ jobs:
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
toolchain: nightly
command: check
args: --all --all-features
1 change: 1 addition & 0 deletions .github/workflows/check-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ jobs:
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
toolchain: nightly
command: check
args: --all --all-features
1 change: 1 addition & 0 deletions .github/workflows/check-toolchains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ jobs:
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
toolchain: ${{ matrix.rust-toolchain }}
command: check
args: --all
7 changes: 2 additions & 5 deletions .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
toolchain: nightly
command: fmt
args: --all -- --check

Expand All @@ -39,5 +35,6 @@ jobs:
- name: Run cargo clippy
uses: actions-rs/clippy-check@v1
with:
toolchain: nightly
token: ${{ secrets.GITHUB_TOKEN }}
args: --all --all-features -- -D warnings

0 comments on commit 735f821

Please sign in to comment.