Skip to content

Commit 8c6f8fd

Browse files
authored
Update actions to avoid using deprecated node 16 (#437)
We're getting warnings about these actions being too old.
1 parent 1dd15d7 commit 8c6f8fd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
PY: python3.9
4949
SCIE_PANTS_DEV_CACHE: .scie_pants_dev_cache
5050
steps:
51-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@v4
5252
- name: Check Formatting
5353
run: |
5454
rustup toolchain add nightly -c rustfmt
@@ -71,14 +71,14 @@ jobs:
7171
# should be resilient to this (see `test_pants_source_mode` in `test.rs`).
7272
echo "cache_key=${{ matrix.os }}-scie-pants-v7-$(which python)" | tee -a "$GITHUB_OUTPUT"
7373
- name: Cache Build and IT Artifacts
74-
uses: actions/cache@v3
74+
uses: actions/cache@v4
7575
with:
7676
path: ${{ env.SCIE_PANTS_DEV_CACHE }}
7777
key: ${{ steps.build_it_cache_key.outputs.cache_key }}
7878

7979
# required for the PANTS_SOURCE tests, which build a version of Pants that requires an external protoc
8080
- name: Install Protoc
81-
uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9
81+
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
8282
if: ${{ matrix.os == 'macOS-10.15-X64' || matrix.os == 'macOS-11-ARM64' || matrix.os == 'ubuntu-22.04' || matrix.name == 'linux-arm64' }}
8383
with:
8484
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
environment: Release
7575
steps:
7676
- name: Checkout scie-pants ${{ needs.determine-tag.outputs.release-tag }}
77-
uses: actions/checkout@v3
77+
uses: actions/checkout@v4
7878
with:
7979
ref: ${{ needs.determine-tag.outputs.release-tag }}
8080
- name: Package scie-pants ${{ needs.determine-tag.outputs.release-tag }} binary
@@ -102,7 +102,7 @@ jobs:
102102
version: ${{ needs.determine-tag.outputs.release-version }}
103103
setup-python: ${{ matrix.os == 'ubuntu-22.04' }}
104104
- name: Create ${{ needs.determine-tag.outputs.release-tag }} Release
105-
uses: softprops/action-gh-release@v1
105+
uses: softprops/action-gh-release@v2
106106
env:
107107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
108108
with:

0 commit comments

Comments
 (0)