ci: Use GitHub concurrency

pull/9222/head
Daniel Mensinger 3 years ago
parent b8cfb3d131
commit cab77b0e4c
  1. 4
      .github/workflows/cygwin.yml
  2. 4
      .github/workflows/file_format.yml
  3. 4
      .github/workflows/images.yml
  4. 4
      .github/workflows/lint_mypy.yml
  5. 4
      .github/workflows/macos.yml
  6. 4
      .github/workflows/msys2.yml
  7. 4
      .github/workflows/nonative.yml
  8. 4
      .github/workflows/os_comp.yml
  9. 4
      .github/workflows/unusedargs_missingreturn.yml
  10. 5
      .github/workflows/website.yml

@ -1,5 +1,9 @@
name: cygwin name: cygwin
concurrency:
group: cygwin-${{ github.head_ref }}
cancel-in-progress: true
on: on:
push: push:
paths: paths:

@ -2,6 +2,10 @@ name: File format check
on: [push, pull_request] on: [push, pull_request]
concurrency:
group: file_fmt-${{ github.head_ref }}
cancel-in-progress: true
jobs: jobs:
format: format:
runs-on: ubuntu-latest runs-on: ubuntu-latest

@ -1,5 +1,9 @@
name: CI image builder name: CI image builder
concurrency:
group: img_builder-${{ github.head_ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

@ -1,5 +1,9 @@
name: LintMypy name: LintMypy
concurrency:
group: mypy-${{ github.head_ref }}
cancel-in-progress: true
on: on:
push: push:
paths: paths:

@ -1,5 +1,9 @@
name: macos name: macos
concurrency:
group: macos-${{ github.head_ref }}
cancel-in-progress: true
on: on:
push: push:
paths: paths:

@ -1,5 +1,9 @@
name: msys2 name: msys2
concurrency:
group: msys2-${{ github.head_ref }}
cancel-in-progress: true
on: on:
push: push:
paths: paths:

@ -1,5 +1,9 @@
name: Cross-only compilation environment name: Cross-only compilation environment
concurrency:
group: nonative-${{ github.head_ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

@ -1,5 +1,9 @@
name: linux name: linux
concurrency:
group: linux-${{ github.head_ref }}
cancel-in-progress: true
on: on:
push: push:
branches: branches:

@ -9,6 +9,10 @@ env:
CPPFLAGS: "-Werror=unused-parameter -Werror=return-type" CPPFLAGS: "-Werror=unused-parameter -Werror=return-type"
FFLAGS: "-fimplicit-none" FFLAGS: "-fimplicit-none"
concurrency:
group: unusedargs-${{ github.head_ref }}
cancel-in-progress: true
on: on:
push: push:
paths: paths:

@ -1,5 +1,10 @@
name: Update website name: Update website
concurrency:
group: mesonbuild.com
# We do NOT want `cancel-in-progress` here since only one website job
# should run at a time to avoid upload race condtions.
on: on:
push: push:
branches: branches:

Loading…
Cancel
Save