From 24f8e57ebf580505237ddcf8d8c73bb7388d7339 Mon Sep 17 00:00:00 2001 From: marston Date: Thu, 21 Sep 2023 11:24:24 -0400 Subject: [PATCH] add test workflow --- .github/workflows/test-unit.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/test-unit.yml diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml new file mode 100644 index 0000000..1d0e2c2 --- /dev/null +++ b/.github/workflows/test-unit.yml @@ -0,0 +1,19 @@ +name: Unit Test + +on: + pull_request: + push: + branches: ["main"] + +jobs: + test: + name: Unit Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4.0.0 + - uses: actions/setup-go@v4 + with: + go-version: 1.21.0 # The Go version to download (if necessary) and use. + - name: Test + shell: bash + run: make test-unit \ No newline at end of file