From b6fa37f36ea8abd96fbe56cdd77e0b1841233867 Mon Sep 17 00:00:00 2001 From: Lee-Orr Date: Tue, 6 Feb 2024 16:58:19 -0500 Subject: [PATCH] update workflow - concurrency, remove test/build dependency --- .github/workflows/rust.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5b36784..6838c08 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -11,6 +11,10 @@ env: SCCACHE_GHA_ENABLED: "true" RUSTC_WRAPPER: "sccache" +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: clippy: runs-on: ubuntu-latest @@ -46,7 +50,7 @@ jobs: test: runs-on: ubuntu-latest - needs: build + needs: [clippy, format] steps: - uses: actions/checkout@v3