1name: ci 2on: 3 push: 4 branches: 5 - master 6 pull_request: 7jobs: 8 ci-job: 9 runs-on: ubuntu-latest 10 strategy: 11 matrix: 12 go: [ '1.10.x', '1.19', '1.20', '1.21', '1.22', '1.x' ] 13 name: Go ${{ matrix.go }} 14 steps: 15 - uses: actions/checkout@v4 16 - name: Use go 17 uses: actions/setup-go@v5 18 with: 19 go-version: ${{ matrix.go }} 20 - run: go build . 21 - run: go test -v