diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 43d9aa5..de7cdf3 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.event.compare || github.head_ref || github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: RUSTFLAGS: >- diff --git a/.github/workflows/cargo-audit.yaml b/.github/workflows/cargo-audit.yaml index f55691b..c93bd00 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.event.compare || github.head_ref || 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 2245b68..6853c97 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.event.compare || github.head_ref || github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} + jobs: cargo-fmt: name: .rs Formatting Check diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 4ddfded..65f1569 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.event.compare || github.head_ref || github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} env: RUSTDOCFLAGS: -D warnings @@ -15,6 +19,7 @@ jobs: name: Docs runs-on: windows-2025 strategy: + fail-fast: false # Allow all matrix variants to complete even if some fail matrix: wdk: - 10.0.22621 # NI WDK diff --git a/.github/workflows/github-dependency-review.yaml b/.github/workflows/github-dependency-review.yaml index 7c520c6..436d0bb 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.event.compare || github.head_ref || 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 e49d959..a7b49a3 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.event.compare || github.head_ref || github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: clippy: @@ -14,6 +18,7 @@ jobs: permissions: checks: write strategy: + fail-fast: false # Allow all matrix variants to complete even if some fail matrix: wdk: - 10.0.22621 # NI WDK