From 31b3571527226cad9c85bc0396654bef54ff7c60 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 14 Aug 2024 23:43:08 -0700 Subject: [PATCH] ci: bump Go and github actions Go 1.23 is released, making Go 1.21 (and older version) unsupported. Signed-off-by: Kir Kolyshkin --- .github/workflows/test.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9d76885d..5ae25501 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,15 +11,15 @@ on: jobs: lint: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: - go-version: 1.20.x - - uses: actions/checkout@v3 - - uses: golangci/golangci-lint-action@v3 + go-version: 1.x # latest + - uses: actions/checkout@v4 + - uses: golangci/golangci-lint-action@v6 with: - version: v1.51.2 + version: v1.60 commit: runs-on: ubuntu-22.04 @@ -44,14 +44,14 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.19.x, 1.20.x] + go-version: [1.22.x, 1.23.x] race: ["-race", ""] steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install go ${{ matrix.go-version }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: build