diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..cf6618e --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: "CI" +on: + push: + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + - name: setup go + uses: actions/setup-go@v4 + with: + go-version: 1.21 + - name: vet + run: go vet ./... + - name: build + run: make build + - name: test + run: make test