Skip to content

Commit

Permalink
(#18) chore: update actions script
Browse files Browse the repository at this point in the history
             - actions/checkout v3->v4
             - actions/setup-go v3->v5
             - actions/upload-artifact v3->v4
(#18) chore: update go 1.22.5->1.22.6
(#18) chore: update github.com/goyek/goyek/v2
             v2.1.0->v2.2.0
(#18) chore: update github.com/goyek/x
             v0.1.7->v0.2.0
(#18) chore: update golang.org/x/text
             v0.16.0->v0.17.0
  • Loading branch information
majohn-r committed Aug 13, 2024
1 parent c6fb4cb commit d516a49
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ jobs:
runs-on: windows-latest
steps:
- name: Check out source code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Fetch go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: '1.22.5'
go-version: 1.22.6
- name: Get dependencies
run: go get -u ./...
- name: Install linter
run: go install -v github.com/go-critic/go-critic/cmd/gocritic@latest
- name: Run linter
run: gocritic check -enableAll ./... > lint-issues.txt
- name: Post lint issues
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lint results
path: lint-issues.txt
Expand All @@ -27,14 +27,14 @@ jobs:
- name: Run nilaway
run: nilaway ./... > nilaway-issues.txt
- name: Post nilaway issues
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nilaway results
path: nilaway-issues.txt
- name: Run format check
run: gofmt -d -e -l ./ > format-issues.txt
- name: Post format issues
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: format results
path: format-issues.txt
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Run vulnerability check
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.22.5
go-version-input: 1.22.6
- name: Execute unit tests with code coverage
run: go test -coverprofile=coverage -covermode=atomic ./...
- name: Upload coverage to Codecov
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ module github.com/majohn-r/tools-build
go 1.22

require (
github.com/goyek/goyek/v2 v2.1.0
github.com/goyek/x v0.1.7
github.com/goyek/goyek/v2 v2.2.0
github.com/goyek/x v0.2.0
github.com/spf13/afero v1.11.0
)

require (
github.com/mattn/go-shellwords v1.0.12 // indirect
golang.org/x/text v0.16.0 // indirect
golang.org/x/text v0.17.0 // indirect
)
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
github.com/goyek/goyek/v2 v2.1.0 h1:As5r5j6XxfcJMADfgMYJdxsp1vy9IinT6AKPbCt6fi4=
github.com/goyek/goyek/v2 v2.1.0/go.mod h1:qtHlK7t/dYs1Dw7mLXjEVmgE3nccNa7mQW/RmasOoYg=
github.com/goyek/x v0.1.7 h1:nh0gplLi491oommklcR2Kd2f92EP3cugOfPjpUwtRes=
github.com/goyek/x v0.1.7/go.mod h1:z4MsI/oYknI36ubaSfVomDYz6i4MjsQ1bk69PY3HtIo=
github.com/goyek/goyek/v2 v2.2.0 h1:FXdta04rwVN/HE33XKcBtYht6iaDkJ9Z5Bdh1TdXjO0=
github.com/goyek/goyek/v2 v2.2.0/go.mod h1:mqU0PSD8q3TRCzhJ1mL79/X7FOrXJcpvOtDEBXi92+E=
github.com/goyek/x v0.2.0 h1:vLTzDTqbUQnWTM3NOnejGAWwWZA+hJHElv/cd/3ybQc=
github.com/goyek/x v0.2.0/go.mod h1:I1yv17Zj0g3Zv5iDC+kB9gh3cqJquJSTEgfognEfe94=
github.com/mattn/go-shellwords v1.0.12 h1:M2zGm7EW6UQJvDeQxo4T51eKPurbeFbe8WtebGE2xrk=
github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=
github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8=
github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY=
golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc=
golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
go 1.22.2

toolchain go1.22.5
toolchain go1.22.6

use .

0 comments on commit d516a49

Please sign in to comment.