From 22abb6a5ccdf562e065dcbcf79a34cc560ca1c0c Mon Sep 17 00:00:00 2001 From: Anik Date: Tue, 11 Apr 2023 16:43:35 -0400 Subject: [PATCH] (actions): add unit test --- .github/workflows/unit.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/unit.yaml diff --git a/.github/workflows/unit.yaml b/.github/workflows/unit.yaml new file mode 100644 index 00000000..2c557020 --- /dev/null +++ b/.github/workflows/unit.yaml @@ -0,0 +1,18 @@ +name: unit + +on: + workflow_dispatch: + pull_request: + push: + branches: + - main + +jobs: + unit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version-file: "go.mod" + - run: make test-unit