From aa83826f27fddbb26252d0b1c780ad873a43afd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Mon, 22 Jan 2024 18:45:08 +0100 Subject: [PATCH] CI: Setup GitHub actions (#115) --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml 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