diff --git a/.github/workflows/vet-and-build.yml b/.github/workflows/vet-and-build.yml new file mode 100644 index 0000000..e32fd4b --- /dev/null +++ b/.github/workflows/vet-and-build.yml @@ -0,0 +1,24 @@ +name: vet-and-build +on: [push] +jobs: + build: + name: build + runs-on: ubuntu-latest + steps: + - name: set up + uses: actions/setup-go@v1 + with: + go-version: 1.13 + id: go + + - name: check out + uses: actions/checkout@v2 + + - name: deps + run: go get -v -t -d ./... + + - name: vet + run: go vet ./... + + - name: build + run: go build