Skip to content

Commit

Permalink
feat(#1): cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed May 30, 2024
1 parent 64e4159 commit 8ca7d4c
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,17 @@ on:
pull_request:
branches:
- master
env:
RUSTFLAGS: "-Dwarnings"
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
env:
RUSTFLAGS: "-Dwarnings"
jobs:
clippy_check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run Clippy
run: cargo clippy --all-targets --all-features
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions/checkout@v4
- run: cargo test
- run: cargo test --release
- run: cargo clippy --all-targets --all-features
- run: cargo fmt --check

0 comments on commit 8ca7d4c

Please sign in to comment.