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 6a572a2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,26 @@ 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:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
working-directory: ./server
run: cargo build --verbose

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

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

0 comments on commit 6a572a2

Please sign in to comment.