This repository was archived by the owner on Jul 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 2525 - go-check-mod
2626 - gofmt@1.19.3
2727 - golangci-lint@1.50.1
28+ - goreleaser-check@1.12.3
2829 - hadolint@2.10.0
2930 - isort@5.10.1
3031 - markdownlint@0.32.2
3637 - taplo@0.7.0
3738 definitions :
3839 - name : go-check-mod
39- # files: [go-packages]
4040 commands :
4141 - name : lint
4242 output : pass_fail
@@ -48,10 +48,28 @@ lint:
4848 environment :
4949 - name : PATH
5050 list : ["${env.PATH}"]
51+ - name : goreleaser-check
52+ commands :
53+ - name : lint
54+ output : pass_fail
55+ run : goreleaser check -f ${target}
56+ success_codes : [0, 1]
57+ read_output_from : stderr
58+ environment :
59+ - name : PATH
60+ list : ["${env.PATH}"]
61+ runtime : go
62+ package : github.com/goreleaser/goreleaser
63+ version_command :
64+ parse_regex : goreleaser version ${semver} .*
65+ run : goreleaser --version
5166 triggers :
5267 - linters : [go-check-mod]
5368 targets : [go.mod]
5469 paths : [go.mod, go.sum, vendor/**]
70+ - linters : [goreleaser-check]
71+ targets : [.goreleaser.yaml]
72+ paths : [.goreleaser.yaml]
5573 ignore :
5674 - linters : [ALL]
5775 paths : ["**/vendor/**"]
You can’t perform that action at this time.
0 commit comments