diff options
| -rw-r--r-- | .github/workflows/test.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..cdc3248 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,23 @@ +name: Test + +on: + push: + branches: ["master"] + pull_request: + branches: ["master"] + +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + + - name: Install dependencies + run: go get . + + - name: Test + run: go test -v ./... |