Skip to content

Commit

Permalink
syntax error checked
Browse files Browse the repository at this point in the history
  • Loading branch information
stmtk1 committed Apr 28, 2023
1 parent 55280dd commit 80b5883
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions .github/workflows/rust_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,29 @@ jobs:
- name: build
run: cargo build
working-directory: server

clippy:
runs-on: ubuntu-latest
env:
RUSTC_FORCE_INCREMENTAL: 1
needs: build_cache
steps:
- uses: actions/checkout@v2
- run: cargo install cargo-make
- uses: ./github/actions/cache_cargo
- name: test
run: cargo make test
working-directory: server
runs-on: ubuntu-latest
env:
RUSTC_FORCE_INCREMENTAL: 1
needs: build_cache
steps:
- uses: actions/checkout@v2
- run: rustup component add clippy
- uses: ./github/actions/cache_cargo
- name: test
run: cargo clippy --all-targets --all-features -- -D warnings
working-directory: server

test:
runs-on: ubuntu-latest
env:
RUSTC_FORCE_INCREMENTAL: 1
needs: build_cache
steps:
- uses: actions/checkout@v2
- run: cargo install cargo-make
- uses: ./github/actions/cache_cargo
- name: test
run: cargo make test
working-directory: server

0 comments on commit 80b5883

Please sign in to comment.