Skip to content

Commit

Permalink
Add test to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mpchadwick committed Jul 16, 2022
1 parent 5be8c84 commit e691e91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ jobs:
- name: Display Go version
run: go version

- name: Run build
- name: Run test and build
run: |
export PATH=$PATH:$(go env GOPATH)/bin
go get -u github.com/shuLhan/go-bindata/...
go-bindata -pkg bindata -o bindata/bindata.go etc/*
GO111MODULE=on go get ./...
GO111MODULE=on go test -v ./...
GO111MODULE=on go build -ldflags "-X main.version=cibuild" -o dbanon main.go

0 comments on commit e691e91

Please sign in to comment.