name: build on: pull_request: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - uses: actions/setup-go@v5 with: go-version: 1.22 cache: true - run: go mod tidy - run: go test -v ./... - run: go build