Update to Go 1.16.1

Signed-off-by: Phil Estes <estesp@amazon.com>
This commit is contained in:
Phil Estes 2021-02-19 11:41:05 -05:00
parent 2b1e913679
commit c55492f8de
No known key found for this signature in database
GPG Key ID: FE2598126B196A38
7 changed files with 13 additions and 13 deletions

View File

@ -20,7 +20,7 @@ jobs:
strategy: strategy:
matrix: matrix:
go-version: [1.15.8] go-version: [1.16.1]
os: [ubuntu-18.04, macos-10.15, windows-2019] os: [ubuntu-18.04, macos-10.15, windows-2019]
steps: steps:
@ -73,7 +73,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.15.8' go-version: '1.16.1'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -106,7 +106,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.15.8' go-version: '1.16.1'
- name: Set env - name: Set env
shell: bash shell: bash
@ -139,7 +139,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.15.8' go-version: '1.16.1'
- name: Set env - name: Set env
shell: bash shell: bash
@ -181,7 +181,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.15.8' go-version: '1.16.1'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -249,7 +249,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.15.8' go-version: '1.16.1'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:

View File

@ -18,7 +18,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.15.8' go-version: '1.16.1'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -131,7 +131,7 @@ jobs:
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '1.15.8' go-version: '1.16.1'
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:

View File

@ -62,7 +62,7 @@ jobs:
- name: Install Go - name: Install Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: '1.15.8' go-version: '1.16.1'
- name: Set env - name: Set env
shell: bash shell: bash

View File

@ -2,7 +2,7 @@
become: yes become: yes
roles: roles:
- role: config-golang - role: config-golang
go_version: '1.15.8' go_version: '1.16.1'
arch: arm64 arch: arm64
tasks: tasks:
- name: Build containerd - name: Build containerd

2
Vagrantfile vendored
View File

@ -77,7 +77,7 @@ Vagrant.configure("2") do |config|
config.vm.provision "install-golang", type: "shell", run: "once" do |sh| config.vm.provision "install-golang", type: "shell", run: "once" do |sh|
sh.upload_path = "/tmp/vagrant-install-golang" sh.upload_path = "/tmp/vagrant-install-golang"
sh.env = { sh.env = {
'GO_VERSION': ENV['GO_VERSION'] || "1.15.8", 'GO_VERSION': ENV['GO_VERSION'] || "1.16.1",
} }
sh.inline = <<~SHELL sh.inline = <<~SHELL
#!/usr/bin/env bash #!/usr/bin/env bash

View File

@ -6,7 +6,7 @@
# 3.) $ make binaries install test # 3.) $ make binaries install test
# #
ARG GOLANG_VERSION=1.15.8 ARG GOLANG_VERSION=1.16.1
FROM golang:${GOLANG_VERSION} AS golang-base FROM golang:${GOLANG_VERSION} AS golang-base
RUN mkdir -p /go/src/github.com/containerd/containerd RUN mkdir -p /go/src/github.com/containerd/containerd

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/containerd/containerd module github.com/containerd/containerd
go 1.15 go 1.16
require ( require (
github.com/BurntSushi/toml v0.3.1 github.com/BurntSushi/toml v0.3.1