From 88b49f3144048221e3e524fff86754a79e17af6d Mon Sep 17 00:00:00 2001 From: David Heryanto Date: Mon, 28 Sep 2020 15:58:11 +0800 Subject: [PATCH] Add github action to run test --- .github/workflows/go.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/go.yaml diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml new file mode 100644 index 0000000..5cded4c --- /dev/null +++ b/.github/workflows/go.yaml @@ -0,0 +1,20 @@ +name: Test +on: [push, pull_request] +jobs: + test: + runs-on: ubuntu-latest + steps: + + - name: Set up Go 1.14 + uses: actions/setup-go@v2 + with: + go-version: ^1.14 + + - name: Check out code + uses: actions/checkout@v2 + + - name: Run test + run: make test + + - name: Lint codes + run: make lint