From 414a9a845eda0eecac349fc09e8b891baf815b09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Tue, 21 Nov 2023 22:04:50 +0100 Subject: [PATCH] CI: Setup GitHub actions --- .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