diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d7ead21e..b509a37a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,9 +3,10 @@ name: CI on: push: branches: - - 'master' + - "master" pull_request: +# bump: workflow-golangcilint /GOLANGCILINT_VERSION: ([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1 env: GOLANGCILINT_VERSION: 1.42.0 @@ -20,6 +21,7 @@ jobs: - name: Setup go uses: actions/setup-go@v2 with: + # bump: workflows-golang /go-version: ([\d.]+)/ git:https://github.com/actions/go-versions.git|/(.*)-.*/$1/|^1 go-version: 1.17.0 - name: Lint uses: golangci/golangci-lint-action@v2 diff --git a/Bumpfile b/Bumpfile index acc5f8b9..557f92dc 100644 --- a/Bumpfile +++ b/Bumpfile @@ -1,6 +1,4 @@ Dockerfile +Makefile go.mod - -workflows-golang /go-version: ([\d.]+)/ git:https://github.com/actions/go-versions.git|/(.*)-.*/$1/|^1 -workflow-golangcilint /GOLANGCILINT_VERSION: ([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1 .github/workflows/*.yml diff --git a/Makefile b/Makefile index 4c509420..4e392630 100644 --- a/Makefile +++ b/Makefile @@ -47,11 +47,12 @@ gogenerate: .PHONY: lint lint: - golangci-lint run +# bump: make-golangcilint /golangci-lint@v([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1 + go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.0 run .PHONY: depgraph.svg depgraph.svg: - godepgraph -s main.go | dot -Tsvg -o godepgraph.svg + go run github.com/kisielk/godepgraph@latest github.com/wader/fq | dot -Tsvg -o godepgraph.svg .PHONY: formats.svg formats.svg: