Skip to content

Commit

Permalink
update ci tool version
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmood committed Jun 13, 2024
1 parent 6615ad1 commit 0c28362
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
working-directory: lib/example

steps:
- uses: actions/setup-go@v4
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: 1.21

- uses: actions/checkout@v4

- 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: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
os: [macos-latest, windows-latest, ubuntu-latest]

steps:
- uses: actions/setup-go@v4
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: 1.21

- uses: actions/checkout@v4

- 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:
Expand Down
7 changes: 5 additions & 2 deletions go.work.sum
Original file line number Diff line number Diff line change
@@ -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=

0 comments on commit 0c28362

Please sign in to comment.