diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 534f32036..7a5ce1939 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: with: go-version: '^1.18' - name: Run Golang CI Lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: version: latest args: -E gofmt diff --git a/.github/workflows/citk.yml b/.github/workflows/citk.yml index ce9360c36..4b675f239 100644 --- a/.github/workflows/citk.yml +++ b/.github/workflows/citk.yml @@ -10,11 +10,11 @@ jobs: strategy: fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: "^1.18" - name: Checkout branch diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 126bd7ad4..8118ebf78 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -6,7 +6,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v4 + - uses: actions/stale@v9 with: stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.' diff --git a/.github/workflows/upload_coverage_report.yml b/.github/workflows/upload_coverage_report.yml index 44867a43e..50ce54650 100644 --- a/.github/workflows/upload_coverage_report.yml +++ b/.github/workflows/upload_coverage_report.yml @@ -25,13 +25,13 @@ jobs: go test -coverprofile="${{ env.REPORT_NAME }}" ./... - name: Upload coverage to codecov (tokenless) if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: files: "${{ env.REPORT_NAME }}" fail_ci_if_error: true - name: Upload coverage to codecov (with token) if: "! github.event.pull_request.head.repo.fork " - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} files: "${{ env.REPORT_NAME }}"