From 4d8373d869b64ccd6c4d0b7e8f8cc28ffde0ce73 Mon Sep 17 00:00:00 2001 From: Yishen Miao Date: Mon, 20 Feb 2023 05:44:43 +0000 Subject: [PATCH] Adding GitHub action Adds GitHub action. --- .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..2b861e8 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,20 @@ +name: Go + +on: + - push + - pull_request + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + + - name: Build + run: make + + - name: Test + run: make test