github.com/sttk/sabi@v0.5.0/.github/workflows/go.yml (about) 1 name: Go CI 2 3 on: 4 push: 5 branches: [ '*', '*/*' ] 6 7 jobs: 8 9 build: 10 name: Test for Go ${{ matrix.gover }} on ${{ matrix.os }} 11 runs-on: ${{ matrix.os }} 12 strategy: 13 fail-fast: false 14 matrix: 15 gover: ['~1.18', '~1.19', '~1.20'] 16 os: [ubuntu-latest, windows-latest, macos-latest] 17 steps: 18 - uses: actions/checkout@v2 19 20 - name: Set up Go 21 uses: actions/setup-go@v2 22 with: 23 go-version: ${{ matrix.gover }} 24 25 - name: Build 26 run: go build -v ./... 27 28 - name: Test 29 run: go test -v -cover ./...