Skip to content

Commit

Permalink
Parallelize
Browse files Browse the repository at this point in the history
  • Loading branch information
lindhe committed Aug 4, 2023
1 parent e97dddf commit 6dc537e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,25 @@ on: # yamllint disable-line rule:truthy
- push
- pull_request
jobs:
rustfmt-clippy-check:
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Check out ${{ github.repository }}:${{ github.ref_name }}
uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
components: rustfmt
- run: rustfmt src/*
clippy:
runs-on: ubuntu-latest
steps:
- name: Check out ${{ github.repository }}:${{ github.ref_name }}
uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
- uses: actions-rs/clippy@master
with:
args: --all-features --all-targets

0 comments on commit 6dc537e

Please sign in to comment.