diff options
Diffstat (limited to '.github/workflows/gotest.yml')
| -rw-r--r-- | .github/workflows/gotest.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/gotest.yml b/.github/workflows/gotest.yml new file mode 100644 index 0000000..40ca57d --- /dev/null +++ b/.github/workflows/gotest.yml @@ -0,0 +1,27 @@ +name: gotest + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + + - name: Install dependencies + run: go mod tidy + + - name: Run tests + run: go test -v ./... |
