From b4acc5e34dac2f0c69290d954d9a60000e866af6 Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Tue, 5 Oct 2021 13:30:48 +0200 Subject: [PATCH] Add go build/test workflow --- .github/workflows/go.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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 0000000..2e1ffa6 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,25 @@ +name: Go + +on: + push: + branches: [ flatcar-master ] + pull_request: + branches: [ flatcar-master ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 + + - name: Build + run: make all + + - name: Test + run: make test