Skip to content

Commit

Permalink
Replace unused actions
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed Apr 13, 2023
1 parent c390c70 commit 0d070e2
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,10 @@ jobs:
runner: windows-2019
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: ${{ matrix.target }}
override: true
targets: ${{ matrix.target }}
components: clippy, rustfmt
- uses: actions-rs/cargo@v1
name: Check format
Expand All @@ -81,11 +80,14 @@ jobs:
args: --all --check
use-cross: ${{ matrix.os == 'linux' }}
- name: Check clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
use-cross: ${{ matrix.os == 'linux' }}
run: |
CARGO=cargo
if [[ "$MATRIX_OS" == linux ]]; then
CARGO=cross
fi
$CARGO clippy --all-features
env:
MATRIX_OS: ${{ matrix.os }}
- uses: actions-rs/cargo@v1
name: Build app
with:
Expand Down

0 comments on commit 0d070e2

Please sign in to comment.