Skip to content

Commit a5c872e

Browse files
authored
Merge pull request #116 from GrahamCampbell/github-actions-upgrades
GitHub Actions version upgrades and pins
2 parents 88281a1 + f8d83dc commit a5c872e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717

1818
release:
1919
name: Publish ${{ matrix.cpu }} layers
20-
runs-on: ubuntu-latest
20+
runs-on: ubuntu-22.04
2121
strategy:
2222
matrix:
2323
cpu:
2424
- x86
2525
- arm
2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828

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

3535
- name: Configure AWS credentials
36-
uses: aws-actions/configure-aws-credentials@v1
36+
uses: aws-actions/configure-aws-credentials@v3
3737
with:
3838
role-to-assume: arn:aws:iam::534081306603:role/bref-layer-publisher-github-actions
3939
role-session-name: bref-layer-publisher-github-actions
@@ -69,7 +69,7 @@ jobs:
6969

7070
update-layer-versions:
7171
name: Update layer versions in brefphp/bref
72-
runs-on: ubuntu-latest
72+
runs-on: ubuntu-22.04
7373
needs: [ release ]
7474
steps:
7575
- name: Trigger layer update in brefphp/bref
@@ -91,7 +91,7 @@ jobs:
9191
9292
update-layer-js-versions:
9393
name: Update layer versions in brefphp/layers.js
94-
runs-on: ubuntu-latest
94+
runs-on: ubuntu-22.04
9595
needs: [ release ]
9696
steps:
9797
- name: Trigger release in brefphp/layers.js

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions:
1515
jobs:
1616
matrix-prep:
1717
name: Prepare matrix
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
outputs:
2020
matrix: ${{ steps.set-matrix.outputs.result }}
2121
steps:
@@ -40,13 +40,13 @@ jobs:
4040
4141
tests:
4242
name: Build and tests PHP ${{ matrix.php_version }}, ${{ matrix.cpu }}
43-
runs-on: ubuntu-latest
43+
runs-on: ubuntu-22.04
4444
needs: matrix-prep
4545
strategy:
4646
fail-fast: false
4747
matrix: ${{ fromJson(needs.matrix-prep.outputs.matrix) }}
4848
steps:
49-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v4
5050

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

0 commit comments

Comments
 (0)