name: Build on: push: branches: - main pull_request: jobs: build: name: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: go-version-file: 'go.mod' - name: Install dependencies run: go get . - name: Build run: go build -v ./... - name: Test run: go test -v ./...