diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index 90d4209..36e69da 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -14,14 +14,14 @@ jobs: working-directory: lib/example steps: - - uses: actions/setup-go@v4 - with: - go-version: 1.21 - - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: 1.22 + - name: lint - run: go run github.com/ysmood/golangci-lint@latest -v 1.57.2 + run: go run github.com/ysmood/golangci-lint@latest -v 1.59.1 - name: test run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 75fe812..8ea5354 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,15 +14,15 @@ jobs: os: [macos-latest, windows-latest, ubuntu-latest] steps: - - uses: actions/setup-go@v4 - with: - go-version: 1.21 - - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: 1.22 + - name: lint if: matrix.os == 'ubuntu-latest' - run: go run github.com/ysmood/golangci-lint@latest -v 1.57.2 + run: go run github.com/ysmood/golangci-lint@latest -v 1.59.1 - name: test env: diff --git a/go.work b/go.work index 8aa45f5..e580836 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.21 +go 1.22 use ( . diff --git a/go.work.sum b/go.work.sum index b0a8b03..ef19250 100644 --- a/go.work.sum +++ b/go.work.sum @@ -1,2 +1,5 @@ -github.com/ysmood/gop v0.2.0 h1:+tFrG0TWPxT6p9ZaZs+VY+opCvHU8/3Fk6BaNv6kqKg= -github.com/ysmood/gop v0.2.0/go.mod h1:rr5z2z27oGEbyB787hpEcx4ab8cCiPnKxn0SUHt6xzk= +github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= +github.com/kr/pty v1.1.1 h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw= +github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= +github.com/stretchr/objx v0.1.0 h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=