Skip to content

Commit

Permalink
bump: Move bump config to where it's used
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Sep 12, 2021
1 parent f600f2e commit 8f2f524
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
4 changes: 1 addition & 3 deletions Bumpfile
Original file line number Diff line number Diff line change
@@ -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
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8f2f524

Please sign in to comment.