Skip to content

Commit

Permalink
ci: cargo fmt/clippy-check をコマンド実行にする
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Jan 26, 2025
1 parent 52fd9e9 commit b3ca39e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 90 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,12 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Cargo fmt
uses: LoliGothick/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
flags: --all
toolchain: 'stable'
args: --config-path=./server/rustfmt.toml
working-directory: ./server
run: cargo fmt --all -- --check
working-directory: ./server

- name: Cargo clippy
uses: LoliGothick/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./server
run: cargo clippy --all-features -- -D warnings
working-directory: ./server

- name: Cargo test
run: cargo test --all-features
Expand Down
79 changes: 0 additions & 79 deletions server/rustfmt.toml

This file was deleted.

0 comments on commit b3ca39e

Please sign in to comment.