Skip to content

Commit

Permalink
Move to actions/checkout@v4.
Browse files Browse the repository at this point in the history
Resolves the warnings seen on the actions output:

> Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
  • Loading branch information
thomasvl committed Feb 7, 2024
1 parent ea9ac1c commit fadaf7d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
image: swift:${{ matrix.swift }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: main
- name: Update and install dependencies
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.swift}}-protobuf-${{ steps.get-sha.outputs.sha }}
- name: Checkout protobuf repo
if: steps.cache-protobuf.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: protocolbuffers/protobuf
ref: ${{ steps.get-sha.outputs.sha }}
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
# Test on the latest Swift release.
image: swift:latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Test
run: |
set -eu
Expand Down Expand Up @@ -146,6 +146,6 @@ jobs:
# Test on the latest Swift release.
image: swift:latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: FuzzTesting/do_build.sh --${{ matrix.swiftpm_config }}-only --run-regressions
4 changes: 2 additions & 2 deletions .github/workflows/check_upstream_protos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: main
- name: Checkout protobufbuffers/protobuf
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: protocolbuffers/protobuf
path: protobuf
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/regular_conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
image: swift:${{ matrix.swift }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: main
- name: Update and install dependencies
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.swift}}-protobuf-${{ steps.get-sha.outputs.sha }}
- name: Checkout protobuf repo
if: steps.cache-protobuf.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: protocolbuffers/protobuf
ref: ${{ steps.get-sha.outputs.sha }}
Expand Down

0 comments on commit fadaf7d

Please sign in to comment.