From 86fdec4ffa068736e4e1ac6cd04eee31479cac32 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Fri, 6 Sep 2024 15:45:07 +0200 Subject: [PATCH] Tweak CI Signed-off-by: Oliver Tale-Yazdi --- .github/workflows/rust.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4cc3bdc..7045850 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,5 +1,9 @@ name: Rust +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + on: push: branches: [ "main" ] @@ -34,3 +38,6 @@ jobs: psvm -v stable2407-2 psvm -v 1.13.0 psvm -l + + - name: Fmt + run: cargo fmt --all -- --check