Skip to content

Commit

Permalink
Run CI on PHP 8.3 and 8.4 and pin actions versions
Browse files Browse the repository at this point in the history
Signed-off-by: Graham Campbell <[email protected]>
  • Loading branch information
GrahamCampbell committed Sep 24, 2024
1 parent 4b63c2f commit 0d54a17
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ permissions:

jobs:
dependency-review:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v2
6 changes: 3 additions & 3 deletions .github/workflows/on-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
max-parallel: 1
fail-fast: true
matrix:
php-version: ["7.4", "8.0", "8.1", "8.2"]
runs-on: ubuntu-latest
php-version: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
runs-on: ubuntu-22.04

env:
MOMENTO_API_KEY: ${{ secrets.ALPHA_TEST_AUTH_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Verify README generation
uses: momentohq/standards-and-practices/github-actions/oss-readme-template@gh-actions-v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-push-to-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
MOMENTO_API_KEY: ${{ secrets.ALPHA_TEST_AUTH_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: ${{ secrets.MOMENTO_MACHINE_USER_GITHUB_TOKEN }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/on-push-to-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
MOMENTO_API_KEY: ${{ secrets.ALPHA_TEST_AUTH_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Verify README generation
uses: momentohq/standards-and-practices/github-actions/oss-readme-template@gh-actions-v2
Expand Down Expand Up @@ -52,10 +52,10 @@ jobs:
php ./psr16-example.php
release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [ test ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set release
id: semrel
uses: go-semantic-release/action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ on:

jobs:
qodana:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Qodana Scan'
Expand Down

0 comments on commit 0d54a17

Please sign in to comment.