diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..26a3f71 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Go Test + +on: + push: + branches: + - master + pull_request: + branches: + - '*' + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '^1.18' + + - name: Run tests + run: make test