1
1
mirror of https://github.com/wader/fq.git synced 2024-11-22 07:16:49 +03:00

bump: Move bump config to where it's used

This commit is contained in:
Mattias Wadman 2021-08-20 15:20:13 +02:00
parent f600f2e54f
commit 8f2f524c1a
3 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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: