diff options
| author | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-09-18 21:30:36 +0200 |
|---|---|---|
| committer | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-09-18 21:33:58 +0200 |
| commit | becbf4bf3981a3f8d9a57864942ca1468e23a6b0 (patch) | |
| tree | fec9c619884c6b0e9add39bef8abd4e4e88b3bde | |
| parent | 49bde10c0b4d1c296960fbe94e30672da42df0e5 (diff) | |
Run tests on push and pull to master
| -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 ./... |