Codebase list golang-github-moby-term / f0939a6
CI: use actions/setup-go@v2, and fix go matrix the matrix used "go-versions", but it was later referenced as "matrix.go-version", which may have been the cause we did not install multiple versions. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Sebastiaan van Stijn 3 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
33 test:
44 strategy:
55 matrix:
6 go-versions: [1.12.x, 1.13.x, 1.14.x]
6 go: ["1.12.x", "1.13.x", "1.14.x"]
77 platform: [ubuntu-latest]
88 runs-on: ${{ matrix.platform }}
99 steps:
10 - name: Install Go
11 uses: actions/setup-go@v1
10 - name: Install Go ${{ matrix.go }}
11 uses: actions/setup-go@v2
1212 with:
13 go-version: ${{ matrix.go-version }}
13 go-version: ${{ matrix.go }}
1414 - name: Checkout code
1515 uses: actions/checkout@v2
1616 - name: Test