Skip to content

Commit

Permalink
Bump GitHub Actions to avoid node warnings
Browse files Browse the repository at this point in the history
I also used `@vN`-style pins instead of the specific commits.  A few of
these have crossed from v3 to v4 for example, generally for node16 ->
node20 errors.
  • Loading branch information
cbm755 committed Jul 7, 2024
1 parent a5e94d1 commit eb364f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/actions/publish-docs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runs:
if: github.event_name == 'push'
# We pin to the github action's SHA, not the tag, for security reasons.
# https://docs.github.com/en/actions/learn-github-actions/security-hardening-for-github-actions#using-third-party-actions
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ inputs.token }}
publish_dir: .github/pages
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ runs:
shell: bash

- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
uses: actions/checkout@v4

- name: Install poetry
run: pipx install poetry
shell: bash

- name: setup python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "poetry"
Expand All @@ -54,7 +54,7 @@ runs:
shell: bash
- name: Configure Caching for Pre-Commit
if: ${{ inputs.setup-pre-commit }}
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
uses: actions/checkout@v4

- name: Setup
id: setup
Expand All @@ -34,10 +34,10 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
uses: actions/checkout@v4

- name: setup python
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
uses: actions/setup-python@v5
with:
python-version: "3.11"

Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
uses: actions/checkout@v4

- name: Setup
id: setup
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
uses: actions/checkout@v4

- name: Setup
id: setup
Expand Down

0 comments on commit eb364f1

Please sign in to comment.