Skip to content

Commit

Permalink
Bump checkout to v4 and use ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mergwyn authored Sep 5, 2023
1 parent 9262237 commit f1c4d46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ on:
jobs:
setup_matrix:
name: "Setup Test Matrix"
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
outputs:
spec_matrix: ${{ steps.get-matrix.outputs.spec_matrix }}

steps:
- name: Checkout Source
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ github.repository_owner == 'mergwyn' }}

- name: Activate Ruby 2.7
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- setup_matrix
if: ${{ needs.setup_matrix.outputs.spec_matrix != '{}' }}

runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix: ${{fromJson(needs.setup_matrix.outputs.spec_matrix)}}
Expand All @@ -74,7 +74,7 @@ jobs:
- run: |
echo 'puppet_version=${{ env.SANITIZED_PUPPET_VERSION }}' >> $BUILDEVENT_FILE
- name: Checkout Source
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Activate Ruby ${{ matrix.ruby_version }}"
uses: ruby/setup-ruby@v1
Expand Down

0 comments on commit f1c4d46

Please sign in to comment.