Bump GitHub Actions versions (#11826)

Co-authored-by: TurboRx <TurboRx@users.noreply.github.com>
This commit is contained in:
TurboRx 2026-03-19 06:33:59 +05:30 committed by GitHub
parent 6938f1f807
commit 2dfe57c13a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 10 deletions

View File

@ -15,7 +15,7 @@ jobs:
last_version: ${{ steps.last_version.outputs.version }}
token_exists: ${{ steps.check_token.outputs.token }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 50
# Check if the package.json version field has changed since the last push
@ -40,8 +40,8 @@ jobs:
# We only want to publish if the package.json version field has changed
if: needs.get-version.outputs.current_version != needs.get-version.outputs.last_version && needs.get-version.outputs.token_exists == 'true'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 18
cache: 'npm'

View File

@ -28,12 +28,12 @@ jobs:
node-version: ['18.x']
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 100 # assumes PR/push to master is no larger than 100 commits. Other solutions are needlessly complex.
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
@ -43,7 +43,7 @@ jobs:
- name: Determine which files to lint (if pull request)
if: ${{ github.event_name == 'pull_request' }}
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@v47
with:
files: |
./config/*.ts
@ -66,7 +66,7 @@ jobs:
- name: Determine whether test/sim or test/random-battles need to run (if pull request)
if: ${{ github.event_name == 'pull_request' }}
id: changed-directories
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@v47
with:
files: |
config/formats.ts

View File

@ -21,9 +21,9 @@ jobs:
update_version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: 18
cache: 'npm'
@ -34,7 +34,7 @@ jobs:
npm version ${{ github.event.inputs.version }} --no-git-tag-version
echo "new_version=$(jq -r .version package.json)" >> "$GITHUB_OUTPUT"
- uses: peter-evans/create-pull-request@v7
- uses: peter-evans/create-pull-request@v8
with:
title: Bump package.json version to v${{ steps.bump_version.outputs.new_version }}
body: |