diff --git a/.github/workflows/generate-pgo.yaml b/.github/workflows/generate-pgo.yaml index 39fc7e6a1..349306f2b 100644 --- a/.github/workflows/generate-pgo.yaml +++ b/.github/workflows/generate-pgo.yaml @@ -50,7 +50,7 @@ jobs: files: "${PGO_FILE}" message: "build: update PGO profile :robot:" - run: git push origin $GITHUB_REF - - uses: actions/upload-artifact@v5 + - uses: actions/upload-artifact@v6 with: name: "pgo" path: "${{ env.PGO_FILE }}" diff --git a/.github/workflows/perf-regression.yaml b/.github/workflows/perf-regression.yaml index 785606724..a44845def 100644 --- a/.github/workflows/perf-regression.yaml +++ b/.github/workflows/perf-regression.yaml @@ -19,7 +19,7 @@ jobs: - run: ./bin/nuclei.test -test.run - -test.bench=. -test.benchmem ./cmd/nuclei/ | tee $BENCH_OUT env: DISABLE_STDOUT: "1" - - uses: actions/cache/restore@v4 + - uses: actions/cache/restore@v5 with: path: ./cache key: ${{ runner.os }}-benchmark @@ -33,7 +33,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} comment-on-alert: true summary-always: true - - uses: actions/cache/save@v4 + - uses: actions/cache/save@v5 if: github.event_name == 'push' with: path: ./cache