Skip to content

Commit

Permalink
Update actions/checkout to v4 for latest NodeJS
Browse files Browse the repository at this point in the history
This avoids warnings from GitHub about legacy NodeJS.
  • Loading branch information
PeterJCLaw committed Dec 12, 2023
1 parent f5b2323 commit 549f9ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

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

- name: Set up Poetry
run: pipx install poetry==1.3.2
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:

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

- name: Set up Poetry
run: pipx install poetry==1.3.2
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

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

- name: Set up Poetry
run: pipx install poetry==1.3.2
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ jobs:
needs:
- run-checks
steps:
# Using v2 or later strips tag annotations https://github.com/actions/checkout/issues/290
- uses: actions/checkout@v1
- uses: actions/checkout@v4

# work around actions/checkout stripping annotations https://github.com/actions/checkout/issues/290
- name: Fetch tags
run: git fetch --tags --force

- name: Set up Poetry
run: pipx install poetry==1.3.2
Expand Down

0 comments on commit 549f9ac

Please sign in to comment.