Skip to content

Commit

Permalink
use make rules in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoine committed Apr 13, 2024
1 parent 84f525f commit b1656dc
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:

name: continuous-integration

env:
CLIPPY_OPTIONS: "-D warnings"

jobs:
fmt-check-clippy:
runs-on: ubuntu-20.04
Expand All @@ -21,17 +18,7 @@ jobs:
with:
rustflags: ""

- name: Format
run: cargo fmt --all -- --check

- name: Check the library
run: cargo check --workspace --lib

- name: Check the tests
run: cargo check --workspace --tests

- name: Clippy
run: cargo clippy --workspace -- $CLIPPY_OPTIONS
- run: make check

tests:
strategy:
Expand All @@ -49,5 +36,4 @@ jobs:
with:
rustflags: ""

- name: Tests
run: cargo test --workspace
- run: make test

0 comments on commit b1656dc

Please sign in to comment.