CI: allow Go 1.13 for Docker/Moby compatibility

Docker/Moby still uses Go 1.13 for building containerd binaries.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda 2021-04-28 14:09:31 +09:00
parent feee16e0e3
commit 4e7915f801
No known key found for this signature in database
GPG Key ID: 49524C6F9F638F1A

View File

@ -217,11 +217,16 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-18.04, macos-10.15, windows-2019] os: [ubuntu-18.04, macos-10.15, windows-2019]
go-version: ['1.16.3']
include:
# Go 1.13.x is still used by Docker/Moby
- go-version: '1.13.x'
os: ubuntu-18.04
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.16.3' go-version: ${{ matrix.go-version }}
- name: Set env - name: Set env
shell: bash shell: bash
@ -571,4 +576,4 @@ jobs:
name: TestResults cgroup2 ${{ matrix.runtime }} ${{matrix.runc}} name: TestResults cgroup2 ${{ matrix.runtime }} ${{matrix.runc}}
path: | path: |
${{github.workspace}}/*-junit.xml ${{github.workspace}}/*-junit.xml
${{github.workspace}}/critestreport/* ${{github.workspace}}/critestreport/*