mirror of
https://github.com/vbatts/git-validation.git
synced 2025-06-04 11:02:27 +00:00
main: add support for github actions
Fixes #48 now with logic to detect GITHUB_SHA env variable, let's do a run without the `-range` flag so that path lights up. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
5fd8690c87
commit
59392066c4
2 changed files with 6 additions and 0 deletions
1
.github/workflows/go.yml
vendored
1
.github/workflows/go.yml
vendored
|
@ -34,4 +34,5 @@ jobs:
|
|||
go vet -x ./...
|
||||
go build -v .
|
||||
go test -v ./...
|
||||
./git-validation -run DCO,short-subject,dangling-whitespace -v
|
||||
./git-validation -run DCO,short-subject,dangling-whitespace -v -range ${GITHUB_SHA}..HEAD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue