Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
notV4l committed Oct 15, 2024
1 parent 788790a commit 641f2d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Format
working-directory: ./server
run: cargo fmt --all -- --check

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Clippy
working-directory: ./server
run: cargo clippy --fix
- name: Check for diff
working-directory: ./server
run: git diff --exit-code

build:
Expand All @@ -34,4 +37,5 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Run tests
working-directory: ./server
run: cargo test --workspace --verbose

0 comments on commit 641f2d0

Please sign in to comment.