diff --git a/.github/workflows/bench_cli.yml b/.github/workflows/bench_cli.yml index 9cb37d5bbce1..f8da1d909205 100644 --- a/.github/workflows/bench_cli.yml +++ b/.github/workflows/bench_cli.yml @@ -21,7 +21,7 @@ jobs: steps: - name: Get PR SHA id: sha - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: result-encoding: string script: | @@ -96,7 +96,7 @@ jobs: - name: Write a new comment # Check if the event is not triggered by a fork if: github.event.pull_request.head.repo.full_name == github.repository - uses: peter-evans/create-or-update-comment@v3 + uses: peter-evans/create-or-update-comment@v4 continue-on-error: true with: issue-number: ${{ github.event.issue.number }} diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 339ed48ebedd..102b7a588c6d 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'biomejs' steps: - - uses: actions/labeler@v4 + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: true diff --git a/.github/workflows/parser_conformance.yml b/.github/workflows/parser_conformance.yml index e93b4b526f17..cf2940fa1cf3 100644 --- a/.github/workflows/parser_conformance.yml +++ b/.github/workflows/parser_conformance.yml @@ -81,7 +81,7 @@ jobs: - name: Find Previous Comment if: github.event_name == 'pull_request' - uses: peter-evans/find-comment@v1.3.0 + uses: peter-evans/find-comment@v3.0.0 id: previous-comment with: issue-number: ${{ steps.pr-number.outputs.pr }} @@ -89,7 +89,7 @@ jobs: - name: Update existing comment if: github.event_name == 'pull_request' && steps.previous-comment.outputs.comment-id - uses: peter-evans/create-or-update-comment@v3 + uses: peter-evans/create-or-update-comment@v4 continue-on-error: true with: comment-id: ${{ steps.previous-comment.outputs.comment-id }} @@ -99,7 +99,7 @@ jobs: - name: Write a new comment if: github.event_name == 'pull_request' && !steps.previous-comment.outputs.comment-id - uses: peter-evans/create-or-update-comment@v3 + uses: peter-evans/create-or-update-comment@v4 continue-on-error: true with: issue-number: ${{ steps.pr-number.outputs.pr }} diff --git a/.github/workflows/publish_container_ci.yaml b/.github/workflows/publish_container_ci.yaml index c2f6c86ef562..d6ed87c441d5 100644 --- a/.github/workflows/publish_container_ci.yaml +++ b/.github/workflows/publish_container_ci.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/pull_request_js.yml b/.github/workflows/pull_request_js.yml index e9440e6f7dbc..046c016bcbab 100644 --- a/.github/workflows/pull_request_js.yml +++ b/.github/workflows/pull_request_js.yml @@ -30,7 +30,7 @@ jobs: - name: Free Disk Space uses: ./.github/actions/free-disk-space - name: Cache pnpm modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.pnpm-store key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} diff --git a/.github/workflows/release_cli.yml b/.github/workflows/release_cli.yml index 207e51a7e67b..4395b9813b93 100644 --- a/.github/workflows/release_cli.yml +++ b/.github/workflows/release_cli.yml @@ -144,7 +144,7 @@ jobs: # Upload the CLI binary as a build artifact - name: Upload CLI artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: cli path: ./dist/biome-* @@ -169,7 +169,7 @@ jobs: run: wasm-pack build --out-dir ../../packages/@biomejs/wasm-web --target web --release --scope biomedev crates/biome_wasm - name: Upload WASM artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: wasm path: | @@ -192,11 +192,11 @@ jobs: - uses: actions/checkout@v4 - name: Download CLI artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: cli - name: Download WASM artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: wasm path: packages/@biomejs @@ -228,7 +228,7 @@ jobs: run: | bash scripts/print-changelog.sh ${{ needs.build.outputs.version }} >| ${{ github.workspace }}/RELEASE_NOTES - name: Create GitHub release and tag - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/release_js_api.yml b/.github/workflows/release_js_api.yml index f6ade9208f2c..5e3900979660 100644 --- a/.github/workflows/release_js_api.yml +++ b/.github/workflows/release_js_api.yml @@ -102,7 +102,7 @@ jobs: pnpm --filter @biomejs/js-api run build - name: Upload JS API artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: js-api path: | @@ -121,7 +121,7 @@ jobs: - uses: actions/checkout@v4 - name: Download package artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: js-api path: packages/@biomejs/js-api/dist @@ -151,7 +151,7 @@ jobs: run: | bash scripts/print-changelog.sh ${{ needs.build.outputs.version }} >| ${{ github.workspace }}/RELEASE_NOTES - name: Create GitHub release and tag - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: