diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..63fbd3ad --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,20 @@ +name: Go package + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: setup-go + uses: actions/setup-go@v3 + with: + go-version: 1.19.3 + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... \ No newline at end of file