diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 31d1f54..a4bfe50 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -44,3 +44,7 @@ jobs: # skip-build-cache: true - name: testing run: go test -shuffle on ./... + - name: install govulncheck + run: go install golang.org/x/vuln/cmd/govulncheck@latest + - name: running govulncheck + run: govulncheck ./... diff --git a/.github/workflows/vulns.yml b/.github/workflows/vulns.yml index ac2e8c0..b8467bd 100644 --- a/.github/workflows/vulns.yml +++ b/.github/workflows/vulns.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: ^1.19 + go-version-file: 'go.mod' - name: WriteGoList run: go list -json -m all > go.list - name: Nancy diff --git a/Taskfile.yml b/Taskfile.yml index 0c5218b..3928b71 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -18,7 +18,7 @@ tasks: cmds: - go mod verify - go test -shuffle on ./... - - docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.50.1 golangci-lint run --enable gosec --timeout 3m0s ./... + - docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.51.1 golangci-lint run --enable gosec --timeout 3m0s ./... sources: - ./go.mod - '**/*.go' @@ -37,7 +37,7 @@ tasks: - rm -f ./go.sum - go clean -cache - go clean -modcache - - go mod tidy -v -go=1.19 + - go mod tidy -v -go=1.20 graph: desc: Make grapth of dependency modules. diff --git a/dependency.png b/dependency.png index 1f8291d..b0f7759 100644 Binary files a/dependency.png and b/dependency.png differ diff --git a/go.mod b/go.mod index fc18bf5..90ec5a8 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/goark/kkconv -go 1.19 +go 1.20 -require golang.org/x/text v0.6.0 +require golang.org/x/text v0.7.0 diff --git a/go.sum b/go.sum index 7bdf8d7..44d8b0d 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -golang.org/x/text v0.6.0 h1:3XmdazWV+ubf7QgHSTWeykHOci5oeekaGJBLkrkaw4k= -golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=