From ad3989eacf3250c7c30af2104534954380df7490 Mon Sep 17 00:00:00 2001 From: Phillip Wittrock Date: Wed, 19 Feb 2020 10:56:02 -0800 Subject: [PATCH] Create go.yml for github actions --- .github/workflows/go.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 000000000..2dd7314e5 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,23 @@ +name: Go +on: [push] +jobs: + + build: + name: Build + runs-on: ubuntu-latest + steps: + + - name: Set up Go 1.13 + uses: actions/setup-go@v1 + with: + go-version: 1.13 + id: go + + - name: Check out code into the Go module directory + uses: actions/checkout@v2 + + - name: Build + run: ./travis/kyaml-pre-commit.sh + + - name: Check + run: ./travis/check-go-mod.sh