From a0107549052bb6a88aef9a65d3d76313dad46694 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Tue, 17 May 2022 11:42:47 -0400 Subject: [PATCH 1/2] .github/workflows/build.yaml: switch to ubuntu-latest --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 177944e1c03c..c36ff666d4c3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,7 +14,7 @@ jobs: # Lint changed templates. xlint: name: Lint templates - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest env: PATH: '/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/tmp/bin' @@ -34,7 +34,7 @@ jobs: # Build changed packages. build: name: Build packages - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest if: "!contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')" container: From 34aca4a122d8ae320576d6d18cc351c893a86937 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Tue, 17 May 2022 12:41:17 -0400 Subject: [PATCH 2/2] .github/workflows/build.yaml: auto-cancel in-progress workflows --- .github/workflows/build.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c36ff666d4c3..4ad0e0822ad5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,6 +10,10 @@ on: paths: - 'srcpkgs/**' +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + jobs: # Lint changed templates. xlint: