Skip to content

Commit

Permalink
build.
Browse files Browse the repository at this point in the history
  • Loading branch information
847850277 committed Oct 30, 2024
1 parent 67978c4 commit 10be3fa
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup update stable && rustup default stable
- name: Run rustfmt
run: |
rustup component add rustfmt
cargo fmt -- --check
run: rustup update stable
- name: Install rustfmt and clippy
run: rustup component add rustfmt clippy
- name: Check code format
run: cargo fmt -- --check
#- name: Run clippy
# run: cargo clippy -- -D warnings
- name: Build
run: |
rustup component add rustfmt
cargo build --verbose
run: cargo build --verbose
- name: Test
run: |
rustup component add rustfmt
cargo test --verbose
run: cargo test --verbose

0 comments on commit 10be3fa

Please sign in to comment.