From f7ba9f0ab2fdb23b3c0bb5037055dc18539d7bd0 Mon Sep 17 00:00:00 2001 From: Jason Hall Date: Mon, 1 Nov 2021 15:44:00 -0400 Subject: [PATCH] add github action --- .github/workflows/build.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..4f4d49a --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,24 @@ +name: Build + +on: + push: ['main'] + workflow_dispatch: + +jobs: + build: + name: build + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: '1.17.x' + - uses: engineerd/setup-kind@v0.5.0 + - run: | + go install golang.org/dl/gotip@latest + gotip download + + gotip build ./ + gotip run ./ + gotip run ./