Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Aug 18, 2024
1 parent a6e4c41 commit 0318a08
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,9 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml','**/Cargo.lock') }}
- name: Format
run: cargo fmt --all -- --config format_code_in_doc_comments=true --check
- name: Build
run: cargo build ${{ matrix.build-args }} --all
- name: Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: ${{ matrix.build-args }} -- -D warnings
run: cargo clippy ${{ matrix.build-args }} -- -D warnings

0 comments on commit 0318a08

Please sign in to comment.