From 8ca7d4cd101c5b0cada7e3f6bdf0141927b31eed Mon Sep 17 00:00:00 2001 From: h1alexbel Date: Thu, 30 May 2024 16:42:52 +0300 Subject: [PATCH] feat(#1): cargo --- .github/workflows/cargo.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cargo.yml b/.github/workflows/cargo.yml index 406ad6f8..cafb1997 100644 --- a/.github/workflows/cargo.yml +++ b/.github/workflows/cargo.yml @@ -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