github.com/3andne/restls-client-go@v0.1.6/.github/workflows/go.yml (about) 1 # This workflow will build a golang project 2 # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go 3 4 name: "Go" 5 6 on: 7 push: 8 branches: [ "master" ] 9 pull_request: 10 branches: [ "master" ] 11 12 jobs: 13 build: 14 strategy: 15 fail-fast: false 16 matrix: 17 os: [ "ubuntu-latest", "windows-latest", "macos-latest" ] 18 go: [ "1.20.x", "1.21.0" ] 19 runs-on: ${{ matrix.os }} 20 steps: 21 - uses: actions/checkout@v3 22 - uses: actions/setup-go@v4 23 with: 24 go-version: ${{ matrix.go }} 25 - run: go version 26 - name: Build 27 run: go build -v ./... 28 - name: Test 29 run: go test -v ./...