diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77e495f..923bae7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,10 +10,10 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v7 with: node-version-file: '.nvmrc' cache: 'npm' @@ -42,7 +42,7 @@ jobs: run: CI=true npm run coverage - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v5 + uses: codecov/codecov-action@v7 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e239edc..a73df10 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,10 +24,10 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: javascript-typescript # security-extended adds rules that are lower signal on their own but @@ -36,9 +36,9 @@ jobs: queries: security-extended - name: Autobuild - uses: github/codeql-action/autobuild@v3 + uses: github/codeql-action/autobuild@v4 - name: Perform CodeQL analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 with: category: /language:javascript-typescript diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 06fa5cb..0680ea4 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -35,15 +35,15 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: ${{ inputs.image_tag || github.ref_name }} - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Log in to GitHub Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} @@ -51,7 +51,7 @@ jobs: - name: Extract Docker metadata id: meta - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 with: images: | ghcr.io/${{ env.IMAGE_NAME }} @@ -64,7 +64,7 @@ jobs: # the local daemon, which is why this is separate from the push below. # Buildx caches the layers, so the second build is cheap. - name: Build image for scanning - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . push: false @@ -73,7 +73,7 @@ jobs: platforms: linux/amd64 - name: Scan image for vulnerabilities - uses: aquasecurity/trivy-action@0.28.0 + uses: aquasecurity/trivy-action@v0.36.0 with: image-ref: ${{ env.IMAGE_NAME }}:scan format: table @@ -96,7 +96,7 @@ jobs: # Runs even when the gate above failed, so the findings that blocked the # release are visible rather than only in the job log. if: always() - uses: aquasecurity/trivy-action@0.28.0 + uses: aquasecurity/trivy-action@v0.36.0 with: image-ref: ${{ env.IMAGE_NAME }}:scan format: sarif @@ -107,14 +107,14 @@ jobs: - name: Upload scan findings if: always() - uses: github/codeql-action/upload-sarif@v3 + uses: github/codeql-action/upload-sarif@v4 with: sarif_file: trivy-results.sarif category: trivy-image - name: Build and push Docker image id: push - uses: docker/build-push-action@v6 + uses: docker/build-push-action@v7 with: context: . push: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3864c0b..aff56fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,12 +27,12 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v6 + uses: actions/setup-node@v7 with: node-version-file: '.nvmrc' cache: npm @@ -57,7 +57,7 @@ jobs: - name: Create or update version and changelog PR id: changesets - uses: changesets/action@v1 + uses: changesets/action@v2 with: version: npm run version-packages title: 'chore: update version and changelog'