Skip to content

Commit

Permalink
fix: Update GitHub Actions references to latest versions (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickevansuk authored Oct 8, 2024
1 parent 7024b00 commit 9dc4e6a
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:

steps:
- name: Checkout OpenActive Test Suite
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Node.js 18.17.1
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 18.17.1
- name: Install OpenActive Test Suite
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-data-model-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
ref: master
path: openactive-test-suite

- name: Setup Node.js 18.17.1
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 18.17.1

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
REGISTRY: ghcr.io
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Container registry
uses: docker/login-action@v2
Expand Down Expand Up @@ -52,9 +52,9 @@ jobs:

steps:
- name: Checkout OpenActive Test Suite
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Node.js 18.17.1
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 18.17.1
- name: Install OpenActive Test Suite
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/reference-implementation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,27 @@ jobs:

steps:
- name: Checkout OpenActive Test Suite
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: tests
- name: Use matching coverage/* branch ${{ github.head_ref }} in OpenActive.Server.NET
if: ${{ startsWith(github.head_ref, 'coverage/') }}
id: refs
run: echo "::set-output name=mirror_ref::${{ github.head_ref }}"
- name: Checkout OpenActive.Server.NET ${{ steps.refs.outputs.mirror_ref }}
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: openactive/OpenActive.Server.NET
ref: ${{ steps.refs.outputs.mirror_ref }}
path: server

- name: Setup .NET Core SDK 3.1.419
uses: actions/setup-dotnet@v1
uses: actions/setup-dotnet@v4
with:
dotnet-version: 3.1.419

- name: Setup Node.js 18.17.1
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 18.17.1

Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
# 1. So that the `deploy-output` job can use this output in order to publish it, as examples, to gh-pages
# 2. Make the artifact downloadable from GitHub to a developer so that they can debug
- name: Upload test output for ${{ matrix.mode }} mode as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ success() || failure() }}
with:
name: ${{ matrix.mode }}.${{ matrix.profile }}.${{ matrix.flow }}
Expand All @@ -103,16 +103,16 @@ jobs:
steps:
# Checkout the repo to seed the contents of ./tests/publish/
- name: Checkout OpenActive Test Suite
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: tests
- name: Download test output for Random Mode
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: random.all-features.both
path: ./tests/publish/example-output/random/
- name: Download test output for Controlled Mode
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: controlled.all-features.both
path: ./tests/publish/example-output/controlled/
Expand Down

0 comments on commit 9dc4e6a

Please sign in to comment.