diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index f4ac486..eae5974 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -13,8 +13,7 @@ jobs: name: go-test strategy: matrix: - go-version: [1.21.x, 1.22.x] - # XXX: is it actually useful to run unit tests on macOS? + go-version: [1.22.x, 1.23.x] platform: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.platform }} steps: diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 136a976..97645e1 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -22,12 +22,11 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.54 # current version at time of commit args: --timeout=10m # Only show new issues in a PR but show all issues for pushes only-new-issues: ${{ github.event_name == 'pull_request' && 'true' || 'false' }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2e511dd..69160d9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -60,7 +60,7 @@ jobs: fetch-depth: '0' - uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x - name: Build binary run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build - name: Upload release asset