From a3445a5f54fcf50934e7d35ddf6184f543fc3bb1 Mon Sep 17 00:00:00 2001 From: Vinson Chuong Date: Sun, 15 Sep 2024 16:25:27 -0700 Subject: [PATCH] fix(github-actions): Update versions of GitHub Actions --- .github/workflows/ci.yml | 4 ++-- .github/workflows/dependabot.yml | 4 ++-- src/templates/ci-action.js | 4 ++-- src/templates/dependabot-action.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f265e407..337252d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,8 @@ jobs: ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: latest cache: yarn diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index f99f0a5e..90116fb2 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -5,10 +5,10 @@ jobs: if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: latest cache: yarn diff --git a/src/templates/ci-action.js b/src/templates/ci-action.js index dee7f512..7de56881 100644 --- a/src/templates/ci-action.js +++ b/src/templates/ci-action.js @@ -11,8 +11,8 @@ export default function ({branchName}) { ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: latest cache: yarn diff --git a/src/templates/dependabot-action.js b/src/templates/dependabot-action.js index 31e687ca..b0ca7972 100644 --- a/src/templates/dependabot-action.js +++ b/src/templates/dependabot-action.js @@ -9,10 +9,10 @@ export default function () { if: \${{ github.event.pull_request.user.login == 'dependabot[bot]' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: \${{ github.event.pull_request.head.sha }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: latest cache: yarn