Skip to content

Commit

Permalink
chore: fix ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Sep 3, 2024
1 parent 4ffebcd commit 6882178
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,20 @@ jobs:
# echo "MSRV=$MSRV" | tee --append "$GITHUB_OUTPUT"

check_clippy:
needs: set-msrv
runs-on: ubuntu-24.04
name: Clippy
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ needs.set-msrv.outputs.msrv }}
components: clippy
- name: Install required packages
run: sudo apt install --no-install-recommends --yes libhwloc-dev ocl-icd-opencl-dev
- name: Run cargo clippy
run: cargo clippy --all-targets --workspace -- -D warnings

check_fmt:
needs: set-msrv
runs-on: ubuntu-24.04
name: Checking fmt
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ needs.set-msrv.outputs.msrv }}
components: rustfmt
- name: Run cargo fmt
run: cargo fmt --all -- --check

Expand Down

0 comments on commit 6882178

Please sign in to comment.