From d771fdffc84c6ecc7c0ceb43e85bcaea83bbad23 Mon Sep 17 00:00:00 2001 From: fengmk2 Date: Thu, 25 Jan 2024 13:33:48 +0800 Subject: [PATCH] chore: use actions/checkout@v4 (#5291) https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/ --- .github/workflows/chainalert.yml | 2 +- .github/workflows/vercel-preview.yml | 4 ++-- .github/workflows/vercel-production.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/chainalert.yml b/.github/workflows/chainalert.yml index edb9c6af7e..17b0f978fb 100644 --- a/.github/workflows/chainalert.yml +++ b/.github/workflows/chainalert.yml @@ -8,5 +8,5 @@ jobs: chainalert: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: checkmarx/chainalert-github-action@v1 diff --git a/.github/workflows/vercel-preview.yml b/.github/workflows/vercel-preview.yml index f92c9bb9c3..359c81b2c8 100644 --- a/.github/workflows/vercel-preview.yml +++ b/.github/workflows/vercel-preview.yml @@ -12,7 +12,7 @@ jobs: Deploy-Preview: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install Vercel CLI run: npm install --global vercel@canary - name: Pull Vercel Environment Information @@ -20,4 +20,4 @@ jobs: - name: Build Project Artifacts run: vercel build --token=${{ secrets.VERCEL_TOKEN }} - name: Deploy Project Artifacts to Vercel - run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} \ No newline at end of file + run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/vercel-production.yml b/.github/workflows/vercel-production.yml index c83ccf0649..2e5535c21e 100644 --- a/.github/workflows/vercel-production.yml +++ b/.github/workflows/vercel-production.yml @@ -10,7 +10,7 @@ jobs: Deploy-Production: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install Vercel CLI run: npm install --global vercel@canary - name: Pull Vercel Environment Information @@ -18,4 +18,4 @@ jobs: - name: Build Project Artifacts run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} - name: Deploy Project Artifacts to Vercel - run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} \ No newline at end of file + run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}