diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 61ac4d55..65fd73bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: name: Node ${{ matrix.node }} steps: - uses: actions/checkout@v6 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version: '${{ matrix.node }}' - name: Get pnpm version from Volta config @@ -31,7 +31,7 @@ jobs: - uses: pnpm/action-setup@v4 with: version: ${{ steps.pnpm-version.outputs.version }} - - uses: actions/cache@v4 + - uses: actions/cache@v5 id: cache with: path: node_modules @@ -51,7 +51,7 @@ jobs: environment: ${{ github.ref == 'refs/heads/master' && 'production' }} steps: - uses: actions/checkout@v6 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version-file: package.json - name: Get pnpm version from Volta config @@ -60,7 +60,7 @@ jobs: - uses: pnpm/action-setup@v4 with: version: ${{ steps.pnpm-version.outputs.version }} - - uses: actions/cache@v4 + - uses: actions/cache@v5 id: cache with: path: node_modules @@ -78,7 +78,7 @@ jobs: - name: NPM Pack run: npm pack - name: Upload Build Artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: craft-binary path: | @@ -93,7 +93,7 @@ jobs: contents: read steps: - uses: actions/checkout@v6 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version-file: package.json - name: Get pnpm version from Volta config @@ -112,7 +112,7 @@ jobs: cp .nojekyll docs/dist/ cd docs/dist && zip -r ../../gh-pages.zip . - name: Upload Docs Artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: craft-docs path: ${{ github.workspace }}/gh-pages.zip diff --git a/.github/workflows/changelog-preview.yml b/.github/workflows/changelog-preview.yml index f0fdbd0d..99f721a9 100644 --- a/.github/workflows/changelog-preview.yml +++ b/.github/workflows/changelog-preview.yml @@ -84,14 +84,14 @@ jobs: steps: # For pull_request_target, we must explicitly specify the ref to get the PR commits. # Try the merge ref first; fall back to head ref if PR has merge conflicts. - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 id: checkout-merge continue-on-error: true with: fetch-depth: 0 ref: refs/pull/${{ github.event.pull_request.number }}/merge - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 if: steps.checkout-merge.outcome == 'failure' with: fetch-depth: 0 diff --git a/.github/workflows/docs-preview.yml b/.github/workflows/docs-preview.yml index 39586c76..1eede48f 100644 --- a/.github/workflows/docs-preview.yml +++ b/.github/workflows/docs-preview.yml @@ -15,9 +15,9 @@ jobs: preview: 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: '22' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 28a4ab3b..94d55e47 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: node-version-file: package.json - name: Get pnpm version from Volta config @@ -22,7 +22,7 @@ jobs: - uses: pnpm/action-setup@v4 with: version: ${{ steps.pnpm-version.outputs.version }} - - uses: actions/cache@v4 + - uses: actions/cache@v5 id: cache with: path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de5e7fdc..8285baa0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,12 +101,12 @@ jobs: - name: Get auth token id: token if: github.event_name == 'workflow_dispatch' && github.repository == 'getsentry/craft' - uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 + uses: actions/create-github-app-token@v3 with: app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }} private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: # Use release bot token for Craft repo, inherited token for external repos token: ${{ steps.token.outputs.token || github.token }} diff --git a/action.yml b/action.yml index 930eb0f3..50cedd5f 100644 --- a/action.yml +++ b/action.yml @@ -94,7 +94,7 @@ runs: - name: Download Craft from build artifact id: craft-artifact if: github.repository == 'getsentry/craft' - uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 + uses: actions/download-artifact@v8 with: name: craft-binary path: /tmp/craft-artifact