Skip to content

Commit

Permalink
chore: Update GitHub actions versions (#6279)
Browse files Browse the repository at this point in the history
Saw a bunch of warnings while checking a log, apparently these versions
use node 16 which is deprecated, and the v3 of upload-artifact and
download-artifact will stop working in November.
  • Loading branch information
RDIL committed May 6, 2024
1 parent 3a74ca9 commit 9b7b745
Show file tree
Hide file tree
Showing 35 changed files with 46 additions and 46 deletions.
4 changes: 2 additions & 2 deletions .github/actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
node-version: ${{ inputs.node-version }}

#region Build the standard bundle
- uses: actions/cache@v3
- uses: actions/cache@v4
id: cache-build
with:
path: packages/yarnpkg-cli/bundles/yarn.js
Expand All @@ -35,7 +35,7 @@ runs:
run: echo "globalFolder=$(YARN_IGNORE_PATH=1 node packages/yarnpkg-cli/bundles/yarn.js config get globalFolder)" >> $GITHUB_OUTPUT
shell: bash

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
${{ steps.global-path.outputs.globalFolder }}/cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup upterm session
uses: lhotari/action-upterm@d23c2722bdab893785c9fbeae314cbf080645bd7
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-cra-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-create-vue-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-docusaurus-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-esbuild-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-eslint-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-fsevents-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: macos-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-gatsby-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-gulp-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-husky-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-jest-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-mocha-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-next-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-nm-angular-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Enable git longpaths
run: git config --global core.longpaths true

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-nm-babel-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Enable git longpaths
run: git config --global core.longpaths true

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-nm-berry-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
runs-on: ${{matrix.platform}}

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-nyc-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-parcel-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-pnp-angular-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-prettier-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-rollup-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-storybook-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-svelte-kit-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-typescript-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-vite-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-vitest-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-webpack-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
git fetch --no-tags --unshallow origin HEAD master
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
runs-on: ubuntu-latest

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

- name: 'Use Node.js ${{ env.node-version }}'
uses: actions/setup-node@v4
Expand All @@ -182,7 +182,7 @@ jobs:
node ./scripts/run-yarn.js build:cli --no-minify
shell: bash

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: yarn-artifacts
path: |
Expand All @@ -196,7 +196,7 @@ jobs:
if: |
success() || failure()
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: vscode-zipfs
path: ./packages/vscode-zipfs/vscode-zipfs-*.vsix
Expand Down Expand Up @@ -234,14 +234,14 @@ jobs:
needs: build

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

- name: 'Use Node.js ${{matrix.node}}.x'
uses: actions/setup-node@v4
with:
node-version: ${{matrix.node}}.x

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: yarn-artifacts
path: packages
Expand Down Expand Up @@ -271,9 +271,9 @@ jobs:
needs: build

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

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: yarn-artifacts
path: packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/plugin-compat-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

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

- uses: ./.github/actions/prepare

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr-smart-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
contents: read

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
fetch-depth: 0
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
git diff > merge-conflict-resolution.patch
- name: Store the merge conflict resolution
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: merge-conflict-resolution
path: merge-conflict-resolution.patch
Expand All @@ -92,13 +92,13 @@ jobs:
needs: generate

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
fetch-depth: 0

- name: Retrieve the merge conflict resolution
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: merge-conflict-resolution

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
NODE_OPTIONS: --max_old_space_size=8192

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{github.event.inputs.branch}}
token: ${{secrets.YARNBOT_TOKEN}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
NODE_OPTIONS: --max_old_space_size=8192

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: master
token: ${{secrets.YARNBOT_TOKEN}}
Expand Down

0 comments on commit 9b7b745

Please sign in to comment.