diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b38105fbb9..4a444aec31 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9884a87c4c..861d79c597 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/.github/workflows/update_version.yml b/.github/workflows/update_version.yml index 413613f1af..b102c1b847 100644 --- a/.github/workflows/update_version.yml +++ b/.github/workflows/update_version.yml @@ -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: |