github.com/aristanetworks/gomap@v0.0.0-20240103001659-f6b0e31fb1a7/.github/workflows/test.yml (about) 1 name: Test 2 3 on: 4 push: 5 branches: [ "main" ] 6 pull_request: 7 branches: [ "main" ] 8 9 jobs: 10 11 build: 12 strategy: 13 matrix: 14 go-version: [1.20.x, 1.21.x] 15 runs-on: ubuntu-latest 16 steps: 17 - uses: actions/checkout@v3 18 19 - name: Set up Go 20 uses: actions/setup-go@v3 21 with: 22 go-version: ${{ matrix.go-version }} 23 24 - name: Build 25 run: go build -v ./... 26 27 - name: Test 28 run: go test -v ./...