diff --git a/.github/workflows/test-unit.yml b/.github/workflows/test-unit.yml new file mode 100644 index 0000000..d9e1ba6 --- /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 \ No newline at end of file