Skip to content

Commit

Permalink
Update actions to avoid using deprecated node 16 (#437)
Browse files Browse the repository at this point in the history
We're getting warnings about these actions being too old.
  • Loading branch information
huonw authored Dec 6, 2024
1 parent 1dd15d7 commit 8c6f8fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
PY: python3.9
SCIE_PANTS_DEV_CACHE: .scie_pants_dev_cache
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check Formatting
run: |
rustup toolchain add nightly -c rustfmt
Expand All @@ -71,14 +71,14 @@ jobs:
# should be resilient to this (see `test_pants_source_mode` in `test.rs`).
echo "cache_key=${{ matrix.os }}-scie-pants-v7-$(which python)" | tee -a "$GITHUB_OUTPUT"
- name: Cache Build and IT Artifacts
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.SCIE_PANTS_DEV_CACHE }}
key: ${{ steps.build_it_cache_key.outputs.cache_key }}

# required for the PANTS_SOURCE tests, which build a version of Pants that requires an external protoc
- name: Install Protoc
uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
if: ${{ matrix.os == 'macOS-10.15-X64' || matrix.os == 'macOS-11-ARM64' || matrix.os == 'ubuntu-22.04' || matrix.name == 'linux-arm64' }}
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
environment: Release
steps:
- name: Checkout scie-pants ${{ needs.determine-tag.outputs.release-tag }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ needs.determine-tag.outputs.release-tag }}
- name: Package scie-pants ${{ needs.determine-tag.outputs.release-tag }} binary
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
version: ${{ needs.determine-tag.outputs.release-version }}
setup-python: ${{ matrix.os == 'ubuntu-22.04' }}
- name: Create ${{ needs.determine-tag.outputs.release-tag }} Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit 8c6f8fd

Please sign in to comment.