github.com/dim13/unifi@v0.0.0-20230308161331-9b04946f5e93/.github/workflows/go.yml (about) 1 name: Go 2 3 on: 4 push: 5 branches: [ master ] 6 pull_request: 7 branches: [ master ] 8 workflow_dispatch: 9 branches: [ master ] 10 11 jobs: 12 13 build: 14 name: Build 15 runs-on: ubuntu-latest 16 steps: 17 - name: Check out code 18 uses: actions/checkout@v3 19 20 - name: Set up Go 21 uses: actions/setup-go@v3 22 with: 23 go-version: 1.x 24 25 - name: Build 26 run: go build -v ./... 27 28 - name: Test 29 run: go test -v ./...