github.com/neilotoole/jsoncolor@v0.7.2-0.20231115150201-1637fae69be1/.github/workflows/go.yml (about) 1 name: Go 2 3 on: 4 push: 5 paths-ignore: 6 - '**.md' 7 pull_request: 8 paths-ignore: 9 - '**.md' 10 11 jobs: 12 build: 13 strategy: 14 matrix: 15 os: [ macos-latest, ubuntu-latest, windows-latest] 16 17 runs-on: ${{ matrix.os }} 18 19 steps: 20 - uses: actions/checkout@v4 21 - uses: actions/setup-go@v4 22 with: 23 go-version: ">= 1.16" 24 25 - name: Get dependencies 26 run: | 27 go get -v -t ./... 28 29 - name: Build 30 run: go build -v . 31 32 - name: Test 33 run: go test -v .