diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80bf735..ec35f0f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,10 @@ jobs: go: - ~1.18 - ~1.19 - - ^1.20 + - ^1.23 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - name: Test @@ -28,16 +28,16 @@ jobs: name: Gofmt runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 - name: Check gofmt run: test -z $(gofmt -l .) cover: name: Coverage runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 - name: Test with Coverage run: go test -v -coverprofile=coverage.txt -covermode=atomic ./... - uses: codecov/codecov-action@v3 @@ -45,10 +45,10 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: - go-version: ^1.20 + go-version: ^1.23 - name: Install dependencies run: go install honnef.co/go/tools/cmd/staticcheck@latest - name: Vet diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79b58b1..fcffe93 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,15 +6,15 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 - run: go test -v ./... release: needs: test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: docker://goreleaser/goreleaser-cross:v1.20.6 + - uses: actions/checkout@v4 + - uses: docker://goreleaser/goreleaser-cross:v1.23.3 with: args: --clean env: