Skip to content

Commit

Permalink
ci: update actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Aug 2, 2024
1 parent 66ffa19 commit 31015d8
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/LATEST_DEPENDENCY_VERSIONS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: pnpm test || (echo "===== Retry =====" && pnpm test)
- name: Notify failures
if: failure()
uses: slackapi/slack-github-action@v1.18.0
uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
with:
payload: |
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/add-issue-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
add-to-project:
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.4.0
- uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2
with:
project-url: https://github.com/orgs/NomicFoundation/projects/4
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/add-label-to-new-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
const issue = await github.rest.issues.get({
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/autoassign-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
permissions:
issues: write
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
// each user has a chance of (p - (previousP ?? 0)) to be assigned
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/autoassign-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
const externalPrTriager = "kanej";
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-changeset-added.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# don't run this check in the changesets PR
if: github.head_ref != 'changeset-release/main'
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
const pullNumber = context.issue.number;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close-stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Close stale issues
uses: actions/stale@v8
uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: "This issue has been automatically closed due to inactivity. If you still need help, please reopen the issue and provide the requested information."
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/comment-on-linter-error.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Lint website
working-directory: docs/
run: pnpm lint
- uses: actions/github-script@v6
- uses: actions/github-script@v7
name: Comment on failure
if: ${{ failure() }}
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/hardhat-core-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
node: [18.15]
os: ["macos-13", "ubuntu-latest", "windows-latest"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
node: [18.15]
os: ["macos-13", "ubuntu-latest", "windows-latest"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
Expand All @@ -96,7 +96,7 @@ jobs:
run: pnpm install --frozen-lockfile --prefer-offline

- name: Cache EDR RPC cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
packages/hardhat-core/test/internal/hardhat-network/edr-cache
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Build
run: pnpm build
- name: Cache artifacts
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
packages/hardhat-core/test/internal/hardhat-network/stack-traces/test-files/artifacts
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@e460dfeb36e731f3aeb214be6b0c9a9d9a67eda6
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
with:
issue-inactive-days: "90"
pr-inactive-days: "90"
process-only: "issues, prs"
4 changes: 2 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: lint
run: pnpm lint
- name: Cache artifacts
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
packages/hardhat-core/test/internal/hardhat-network/stack-traces/test-files/artifacts
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Install
run: pnpm install --frozen-lockfile --prefer-offline
- name: Cache network requests
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
packages/hardhat-core/test/internal/hardhat-network/provider/.hardhat_node_test_cache
Expand Down

0 comments on commit 31015d8

Please sign in to comment.