Skip to content

Commit

Permalink
chore: fix version in github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kaans committed Dec 22, 2024
1 parent 5d4372c commit a30b42a
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/cargo-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,31 @@ jobs:
- name: Setup rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt, clippy
toolchain: 1.81.0
- name: Test
run: cargo test
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1

clippy:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy
toolchain: 1.81.0
- name: Clippy
run: cargo clippy

formatting:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
toolchain: 1.81.0
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1

0 comments on commit a30b42a

Please sign in to comment.