diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 50bb70957..a47a0c9c8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,3 +1,5 @@ +name: Build + on: push: pull_request: @@ -5,7 +7,9 @@ on: schedule: # Trigger a job on default branch at 4AM PST everyday - cron: "0 11 * * *" -name: Build +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: RUSTFLAGS: >- @@ -17,6 +21,7 @@ jobs: name: Build runs-on: windows-latest strategy: + fail-fast: false # Allow all matrix variants to complete even if some fail matrix: wdk: - version: 10.0.22621 # NI WDK diff --git a/.github/workflows/cargo-audit.yaml b/.github/workflows/cargo-audit.yaml index 2f94c51a1..b697ee0b5 100644 --- a/.github/workflows/cargo-audit.yaml +++ b/.github/workflows/cargo-audit.yaml @@ -1,4 +1,5 @@ name: Cargo Audit + on: push: paths: @@ -9,6 +10,10 @@ on: schedule: # Trigger a job on default branch at 4AM PST everyday - cron: 0 11 * * * +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + jobs: cargo_audit: name: Cargo Audit diff --git a/.github/workflows/code-formatting-check.yaml b/.github/workflows/code-formatting-check.yaml index 31bc226ff..b1d73fde9 100644 --- a/.github/workflows/code-formatting-check.yaml +++ b/.github/workflows/code-formatting-check.yaml @@ -1,4 +1,5 @@ name: Code Formatting Check + on: push: pull_request: @@ -6,6 +7,10 @@ on: schedule: # Trigger a job on default branch at 4AM PST everyday - cron: 0 11 * * * +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + jobs: cargo-fmt: name: .rs Formatting Check diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index f7d18f9d4..5eec40bc2 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -7,6 +7,10 @@ on: schedule: # Trigger a job on default branch at 4AM PST everyday - cron: 0 11 * * * +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + jobs: analyze: name: Analyze diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 960280b64..91f019ab8 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -1,3 +1,5 @@ +name: Docs + on: push: pull_request: @@ -5,7 +7,9 @@ on: schedule: # Trigger a job on default branch at 4AM PST everyday - cron: "0 11 * * *" -name: Docs +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: RUSTDOCFLAGS: -D warnings @@ -15,6 +19,7 @@ jobs: name: Docs runs-on: windows-latest strategy: + fail-fast: false # Allow all matrix variants to complete even if some fail matrix: wdk: - version: 10.0.22621 # NI WDK diff --git a/.github/workflows/github-dependency-review.yaml b/.github/workflows/github-dependency-review.yaml index 51590aa9b..f24f6f146 100644 --- a/.github/workflows/github-dependency-review.yaml +++ b/.github/workflows/github-dependency-review.yaml @@ -1,9 +1,14 @@ name: Dependency Review + on: push: pull_request: merge_group: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + jobs: dependency-review: name: Github Dependency Review diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 1bc04fe22..3ce57ff6d 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,3 +1,5 @@ +name: Lint + on: push: pull_request: @@ -5,7 +7,9 @@ on: schedule: # Trigger a job on default branch at 4AM PST everyday - cron: "0 11 * * *" -name: Lint +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: RUSTFLAGS: >- @@ -18,6 +22,7 @@ jobs: permissions: checks: write strategy: + fail-fast: false # Allow all matrix variants to complete even if some fail matrix: wdk: - version: 10.0.22621 # NI WDK diff --git a/.github/workflows/local-development-makefile.yaml b/.github/workflows/local-development-makefile.yaml index 07986f882..ae05ee366 100644 --- a/.github/workflows/local-development-makefile.yaml +++ b/.github/workflows/local-development-makefile.yaml @@ -1,3 +1,5 @@ +name: Local Development Makefile + on: push: pull_request: @@ -5,7 +7,9 @@ on: schedule: # Trigger a job on default branch at 4AM PST everyday - cron: "0 11 * * *" -name: Local Development Makefile +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: RUSTFLAGS: -D warnings @@ -15,6 +19,7 @@ jobs: name: Test WDR's local cargo-make Makefile runs-on: windows-latest strategy: + fail-fast: false # Allow all matrix variants to complete even if some fail matrix: wdk: - version: 10.0.22621 # NI WDK diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 41a7fde13..7638a3ba5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,11 +7,16 @@ on: name: Test +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + jobs: test: name: Test runs-on: windows-latest strategy: + fail-fast: false # Allow all matrix variants to complete even if some fail matrix: wdk: - version: 10.0.22621 # NI WDK