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 c055616
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,24 +68,21 @@ 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
if: matrix.tag == 'linux_amd64'
with:
command: fmt
args: --all --check
use-cross: ${{ matrix.os == 'linux' }}
use-cross: true
- name: Check clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
use-cross: ${{ matrix.os == 'linux' }}
if: matrix.tag == 'linux_amd64'
run: cross clippy --all-features --target ${{ matrix.target }}
- uses: actions-rs/cargo@v1
name: Build app
with:
Expand Down

0 comments on commit c055616

Please sign in to comment.