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 abba87a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
10 changes: 5 additions & 5 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
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: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ 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:
TERM: xterm-256color
run: go test -coverprofile="coverage.out" ./...
run: go test -coverprofile="coverage.out" . ./lib/diff ./lib/lcs ./lib/mock ./lib/utils

- name: coverage
if: matrix.os == 'ubuntu-latest'
Expand Down
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.21
go 1.22

use (
.
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 abba87a

Please sign in to comment.