github.com/alexflint/go-memdump@v1.1.0/.github/workflows/go.yml (about) 1 name: Go 2 3 on: 4 push: 5 branches: [ master ] 6 pull_request: 7 branches: [ master ] 8 9 jobs: 10 11 build_and_test: 12 name: Build and test 13 14 strategy: 15 fail-fast: false 16 matrix: 17 go: ['1.17', '1.18'] 18 os: ['ubuntu-latest', 'windows-latest', 'macos-latest'] 19 20 runs-on: ${{ matrix.os }} 21 22 steps: 23 - id: go 24 name: Set up Go 25 uses: actions/setup-go@v1 26 with: 27 go-version: ${{ matrix.go }} 28 29 - name: Checkout 30 uses: actions/checkout@v2 31 32 - name: Build 33 run: go build -v . 34 35 - name: Test 36 run: go test -v .