From 605c50ccb4e5cd988e657eb15362ff47a1cb6945 Mon Sep 17 00:00:00 2001 From: Zhengyi Lai Date: Mon, 24 May 2021 20:55:17 +0800 Subject: [PATCH] Create go.yml Signed-off-by: Zhengyi Lai --- .github/workflows/go.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..04170ba --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,20 @@ +name: Go + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + strategy: + matrix: + go: [1.13] + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: go get -u golang.org/x/lint/golint + - run: make check + - run: make release + - run: make unit-runtime-go-${{ matrix.go }}