diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c77d2e9..de6bdd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,14 +61,14 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: # Full history is needed for secret scanning and # accurate diff comparisons against the base branch. fetch-depth: 0 - name: Set up Go ${{ env.GO_VERSION }} - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ env.GO_VERSION }} # Caches the module download cache between runs. @@ -77,7 +77,7 @@ jobs: cache: true - name: Run linter - uses: golangci/golangci-lint-action@v7 + uses: golangci/golangci-lint-action@v9 with: version: ${{ env.GOLANGCI_LINT_VERSION }} @@ -161,7 +161,7 @@ jobs: # Upload the coverage file so it can be downloaded from # the Actions run page for detailed inspection. - name: Upload coverage report - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: always() with: name: backend-coverage @@ -192,10 +192,10 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up Node.js ${{ env.NODE_VERSION }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ env.NODE_VERSION }} cache: 'npm' @@ -238,12 +238,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Go ${{ env.GO_VERSION }} - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{ env.GO_VERSION }} cache: true @@ -266,7 +266,7 @@ jobs: # confirm are real (by attempting to use them) — this # reduces false positives significantly. - name: Scan for committed secrets - uses: trufflesecurity/trufflehog@v3.88.8 + uses: trufflesecurity/trufflehog@v3.95.3 with: path: ./ base: ${{ github.event.pull_request.base.sha || github.event.before }} @@ -286,7 +286,7 @@ jobs: timeout-minutes: 2 steps: - - uses: amannn/action-semantic-pull-request@v5 + - uses: amannn/action-semantic-pull-request@v6 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: