Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HsiangNianian authored Dec 24, 2023
1 parent 147dea6 commit 3e048a4
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,29 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v3

- name: Update local toolchain
run: |
rustup update
- name: Toolchain info
run: |
cargo --version --verbose
rustc --version
- name: Lint
run: |
cd .
cargo fmt -- --check
- name: Test
run: |
cd .
cargo check
cargo test --all
- name: Build
run: |
cd .
cargo build --release

0 comments on commit 3e048a4

Please sign in to comment.