From 7c9ca6e3b9e47ea87a29ae419858bfbc50fb19ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Mengu=C3=A9?= Date: Mon, 12 May 2025 15:39:12 +0200 Subject: [PATCH] CI: upgrade github actions actions/checkout -> v4 actions/setup-go -> v5 golangci/golangci-lint-action -> v6 (v8 requires to upgrade config to v2, so this will be done separately) codecov/codecov-action -> v5 --- .github/workflows/bench.yml | 2 +- .github/workflows/go.yml | 8 ++++---- .github/workflows/main.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 962cfb0..e84698d 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -16,7 +16,7 @@ jobs: timeout-minutes: 15 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # to be able to retrieve the last commit in main diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f190c54..9493504 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -17,10 +17,10 @@ jobs: go-version: ['1.20', 'stable'] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go ${{ matrix.go-version }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} @@ -28,7 +28,7 @@ jobs: run: go build -v ./... - name: Lint - uses: golangci/golangci-lint-action@v3.3.1 + uses: golangci/golangci-lint-action@v6 with: version: latest args: --timeout 5m @@ -37,7 +37,7 @@ jobs: run: go test -race -v ./... -coverprofile ./coverage.txt - name: Codecov - uses: codecov/codecov-action@v3.1.1 + uses: codecov/codecov-action@v5 with: files: ./coverage.txt diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87e68ae..dd99c6a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 15 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: