From 0d54a17bee5ffda8101b5d81204983daf4b7bb3b Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Tue, 24 Sep 2024 20:29:21 +0100 Subject: [PATCH] Run CI on PHP 8.3 and 8.4 and pin actions versions Signed-off-by: Graham Campbell --- .github/workflows/dependency-review.yml | 4 ++-- .github/workflows/on-pull-request.yaml | 6 +++--- .github/workflows/on-push-to-main.yaml | 4 ++-- .github/workflows/on-push-to-release.yaml | 8 ++++---- .github/workflows/qodana.yml | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index fe461b42..3398382b 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -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 diff --git a/.github/workflows/on-pull-request.yaml b/.github/workflows/on-pull-request.yaml index f9a9e0ab..1828e8e2 100644 --- a/.github/workflows/on-pull-request.yaml +++ b/.github/workflows/on-pull-request.yaml @@ -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 diff --git a/.github/workflows/on-push-to-main.yaml b/.github/workflows/on-push-to-main.yaml index 76a518da..013357c6 100644 --- a/.github/workflows/on-push-to-main.yaml +++ b/.github/workflows/on-push-to-main.yaml @@ -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 }} diff --git a/.github/workflows/on-push-to-release.yaml b/.github/workflows/on-push-to-release.yaml index 94f0f60a..34cbfbd6 100644 --- a/.github/workflows/on-push-to-release.yaml +++ b/.github/workflows/on-push-to-release.yaml @@ -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 @@ -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 diff --git a/.github/workflows/qodana.yml b/.github/workflows/qodana.yml index eff6990d..3dee4886 100644 --- a/.github/workflows/qodana.yml +++ b/.github/workflows/qodana.yml @@ -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'