[actions] update outdated GitHub Actions versions

This commit is contained in:
Padraic Slattery
2026-01-19 17:39:42 +01:00
committed by Jordan Harband
parent 80cc4cdd1b
commit 34d6d5d6fe
8 changed files with 14 additions and 14 deletions

View File

@@ -63,7 +63,7 @@ jobs:
iojs.org:443 iojs.org:443
nodejs.org:443 nodejs.org:443
registry.npmjs.org:443 registry.npmjs.org:443
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- uses: ljharb/actions/node/install@main - uses: ljharb/actions/node/install@main
name: 'install node' name: 'install node'
with: with:

View File

@@ -16,7 +16,7 @@ jobs:
raw.githubusercontent.com:443 raw.githubusercontent.com:443
nodejs.org:443 nodejs.org:443
registry.npmjs.org:443 registry.npmjs.org:443
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- uses: ljharb/actions/node/install@main - uses: ljharb/actions/node/install@main
name: 'nvm install ${{ matrix.node-version }} && npm install' name: 'nvm install ${{ matrix.node-version }} && npm install'
with: with:
@@ -35,7 +35,7 @@ jobs:
pkg-containers.githubusercontent.com:443 pkg-containers.githubusercontent.com:443
nodejs.org:443 nodejs.org:443
registry.npmjs.org:443 registry.npmjs.org:443
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- uses: ljharb/actions/node/install@main - uses: ljharb/actions/node/install@main
name: 'nvm install ${{ matrix.node-version }} && npm install' name: 'nvm install ${{ matrix.node-version }} && npm install'
with: with:
@@ -52,7 +52,7 @@ jobs:
raw.githubusercontent.com:443 raw.githubusercontent.com:443
nodejs.org:443 nodejs.org:443
registry.npmjs.org:443 registry.npmjs.org:443
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- uses: ljharb/actions/node/install@main - uses: ljharb/actions/node/install@main
name: 'nvm install ${{ matrix.node-version }} && npm install' name: 'nvm install ${{ matrix.node-version }} && npm install'
with: with:
@@ -67,6 +67,6 @@ jobs:
allowed-endpoints: allowed-endpoints:
github.com:443 github.com:443
raw.githubusercontent.com:443 raw.githubusercontent.com:443
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: check tests filenames - name: check tests filenames
run: ./rename_test.sh --check run: ./rename_test.sh --check

View File

@@ -16,7 +16,7 @@ jobs:
outputs: outputs:
matrix: ${{ steps.matrix.outputs.matrix }} matrix: ${{ steps.matrix.outputs.matrix }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
- id: matrix - id: matrix
@@ -55,7 +55,7 @@ jobs:
- 2 shlvls - 2 shlvls
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: resolve HEAD to sha - name: resolve HEAD to sha
run: | run: |
if [ '${{ matrix.ref }}' = 'HEAD' ]; then if [ '${{ matrix.ref }}' = 'HEAD' ]; then

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v6
- uses: ljharb/rebase@master - uses: ljharb/rebase@master
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -19,10 +19,10 @@ jobs:
raw.githubusercontent.com:443 raw.githubusercontent.com:443
release-assets.githubusercontent.com:443 release-assets.githubusercontent.com:443
registry.npmjs.org:443 registry.npmjs.org:443
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
fetch-tags: true fetch-tags: true
- uses: actions/setup-node@v4 - uses: actions/setup-node@v6
with: with:
node-version: "14" node-version: "14"
- run: npm install - run: npm install

View File

@@ -35,7 +35,7 @@ jobs:
github.com:443 github.com:443
pkg-containers.githubusercontent.com:443 pkg-containers.githubusercontent.com:443
formulae.brew.sh:443 formulae.brew.sh:443
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- name: Set up Homebrew - name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master uses: Homebrew/actions/setup-homebrew@master
- name: Install latest shellcheck - name: Install latest shellcheck

View File

@@ -52,7 +52,7 @@ jobs:
iojs.org:443 iojs.org:443
azure.archive.ubuntu.com:80 azure.archive.ubuntu.com:80
packages.microsoft.com:443 packages.microsoft.com:443
- uses: actions/checkout@v4 - uses: actions/checkout@v6
- run: sudo apt-get update; sudo apt-get install ${{ matrix.shell }} - run: sudo apt-get update; sudo apt-get install ${{ matrix.shell }}
if: matrix.shell == 'zsh' || matrix.shell == 'ksh' if: matrix.shell == 'zsh' || matrix.shell == 'ksh'
# zsh (https://github.com/actions/runner-images/issues/264) and ksh are not in the ubuntu image # zsh (https://github.com/actions/runner-images/issues/264) and ksh are not in the ubuntu image

View File

@@ -21,7 +21,7 @@ jobs:
github.com:443 github.com:443
registry.npmjs.org:443 registry.npmjs.org:443
api.github.com:443 api.github.com:443
- uses: actions/checkout@v4 - uses: actions/checkout@v6
with: with:
# https://github.com/actions/checkout/issues/217#issue-599945005 # https://github.com/actions/checkout/issues/217#issue-599945005
# pulls all commits (needed for lerna / semantic release to correctly version) # pulls all commits (needed for lerna / semantic release to correctly version)
@@ -29,7 +29,7 @@ jobs:
# pulls all tags (needed for lerna / semantic release to correctly version) # pulls all tags (needed for lerna / semantic release to correctly version)
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- uses: actions/setup-node@v4 - uses: actions/setup-node@v6
with: with:
node-version: 'lts/*' node-version: 'lts/*'
- run: npm install - run: npm install