diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 30885e8..6ace40e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,9 +8,6 @@ on: jobs: release: runs-on: ubuntu-latest - strategy: - matrix: - go: [ '1.21' ] steps: - name: Check out @@ -21,7 +18,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v3 with: - go-version: ${{ matrix.go }} + go-version: 'stable' cache: true - name: release uses: goreleaser/goreleaser-action@v4 diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index 91de8be..7493165 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: [ '1.22', '1.23' ] + go: [ 'oldstable', 'stable' ] steps: - name: Check out diff --git a/go.mod b/go.mod index 84a16ed..9128b01 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/ykadowak/zerologlint -go 1.23 +go 1.22.0 require ( github.com/gostaticanalysis/comment v1.4.2