Skip to content

Commit

Permalink
Merge pull request #116 from GrahamCampbell/github-actions-upgrades
Browse files Browse the repository at this point in the history
GitHub Actions version upgrades and pins
  • Loading branch information
mnapoli authored Sep 11, 2023
2 parents 88281a1 + f8d83dc commit a5c872e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:

release:
name: Publish ${{ matrix.cpu }} layers
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
cpu:
- x86
- arm
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# See https://stackoverflow.com/questions/70312490/github-actions-runner-environment-doesnt-build-for-arm-images
- name: Set up QEMU to run ARM images (that were built with Depot)
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: depot/setup-action@v1

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: arn:aws:iam::534081306603:role/bref-layer-publisher-github-actions
role-session-name: bref-layer-publisher-github-actions
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:

update-layer-versions:
name: Update layer versions in brefphp/bref
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [ release ]
steps:
- name: Trigger layer update in brefphp/bref
Expand All @@ -91,7 +91,7 @@ jobs:
update-layer-js-versions:
name: Update layer versions in brefphp/layers.js
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [ release ]
steps:
- name: Trigger release in brefphp/layers.js
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ permissions:
jobs:
matrix-prep:
name: Prepare matrix
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
matrix: ${{ steps.set-matrix.outputs.result }}
steps:
Expand All @@ -40,13 +40,13 @@ jobs:
tests:
name: Build and tests PHP ${{ matrix.php_version }}, ${{ matrix.cpu }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: matrix-prep
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix-prep.outputs.matrix) }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# See https://stackoverflow.com/questions/70312490/github-actions-runner-environment-doesnt-build-for-arm-images
- name: Set up QEMU to run ARM images (that were built with Depot)
Expand Down

0 comments on commit a5c872e

Please sign in to comment.