1
0
Fork 0
mirror of https://github.com/vbatts/git-validation.git synced 2025-06-04 11:02:27 +00:00

*go: trying out magefiles

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2023-03-14 21:45:05 -04:00
parent 56e85dceb2
commit 69476678b0
Signed by: vbatts
GPG key ID: 10937E57733F1362
6 changed files with 153 additions and 21 deletions

View file

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.13', '1.14', '1.15', '1.16']
go: ['1.17', '1.18', '1.19', '1.20']
name: Documentation and Linting
steps:
@ -30,9 +30,6 @@ jobs:
set -x
export PATH=$GOPATH/bin:$PATH
cd go/src/github.com/vbatts/git-validation
go get ./...
go vet -x ./...
go build -v .
go test -v ./...
go run mage.go -v vet build test
./git-validation -run DCO,short-subject,dangling-whitespace -v
./git-validation -run DCO,short-subject,dangling-whitespace -v -range ${GITHUB_SHA}..HEAD