1name: main 2on: [push, pull_request] 3jobs: 4 test: 5 strategy: 6 matrix: 7 go: 8 - 1.18.x 9 - 1.17.x 10 - 1.16.x 11 os: 12 - ubuntu-latest 13 name: ${{ matrix.os }}/go${{ matrix.go }} 14 runs-on: ${{ matrix.os }} 15 steps: 16 - uses: actions/checkout@v3 17 18 - name: Setup go 19 uses: actions/setup-go@v3 20 with: 21 go-version: ${{ matrix.go }} 22 23 - run: make ci