Skip to content

Commit

Permalink
ci: update checkout actions to v4
Browse files Browse the repository at this point in the history
We were using checkout v2 & and v3 in a few places,
when v4 is the latest. v2 shows a deprecation warning:

  The following actions uses node12 which is deprecated
  and will be forced to run on node16: actions/checkout@v2.
  For more info:
  https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
  • Loading branch information
conorsch committed Nov 20, 2023
1 parent 6aedb94 commit 3aebc48
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/buf-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Lint protobuf
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1
with:
buf_api_token: ${{ secrets.BUF_TOKEN }}
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
# runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
lfs: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/buf-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: bufbuild/buf-setup-action@v1
with:
buf_api_token: ${{ secrets.BUF_TOKEN }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true

Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Docker Hub container registry (for pulls)
uses: docker/login-action@v2
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
- penumbra
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
# We use the GHA Repository Dispatch functionality to trigger a container
# build in the penumbra-zone/osiris repo.
- name: Trigger remote build
Expand All @@ -129,7 +129,7 @@ jobs:
- penumbra
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
# We use the GHA Repository Dispatch functionality to trigger a container
# build in the penumbra-zone/galileo repo.
- name: Trigger remote build
Expand All @@ -155,7 +155,7 @@ jobs:
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# We use the GHA Repository Dispatch functionality to trigger a container
# build in the penumbra-zone/hermes repo.
Expand All @@ -178,7 +178,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to the Docker Hub container registry (for pulls)
uses: docker/login-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
environment: testnet-preview
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: gcloudauth
uses: google-github-actions/auth@v0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
timeout-minutes: 30
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: gcloudauth
uses: google-github-actions/auth@v0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: buildjet-16vcpu-ubuntu-2004
steps:
- name: Checkout the source code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true
- name: Install rust toolchain
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
working-directory: ./crates/wasm/publish
steps:
- name: Checkout sources
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
lfs: true

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: Test Suite
runs-on: buildjet-16vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: true
- name: Install rust toolchain
Expand All @@ -30,7 +30,7 @@ jobs:
name: Rustfmt
runs-on: buildjet-16vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
Expand All @@ -43,7 +43,7 @@ jobs:
name: Check for warnings
runs-on: buildjet-16vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: true
- name: Install rust toolchain
Expand All @@ -57,7 +57,7 @@ jobs:
name: Check that rustdocs build OK
runs-on: buildjet-16vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: true
- name: Install rust toolchain
Expand All @@ -72,7 +72,7 @@ jobs:
name: Build WASM
runs-on: buildjet-16vcpu-ubuntu-2004
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: true
- name: Install rust toolchain
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
cancel-in-progress: true
environment: smoke-test
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
lfs: true
- uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/summoner_smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cancel-in-progress: true
environment: smoke-test
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
lfs: true
- uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit 3aebc48

Please sign in to comment.