Bump go 1.19: upgrade go version to 1.19.1 in the pipeline

Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
Benjamin Wang 2022-09-15 06:04:25 +08:00
parent cd0b1d0c66
commit cb5f7276c3
11 changed files with 11 additions and 11 deletions

View File

@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17.8"
go-version: "1.19.1"
- env:
TARGET: ${{ matrix.target }}
run: |

View File

@ -7,5 +7,5 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17.8"
go-version: "1.19.1"
- run: make -C contrib/mixin tools test

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17.8"
go-version: "1.19.1"
- env:
TARGET: ${{ matrix.target }}
run: |

View File

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17.8"
go-version: "1.19.1"
- run: date
- env:
TARGET: ${{ matrix.target }}

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17.8"
go-version: "1.19.1"
- run: date
- env:
TARGET: ${{ matrix.target }}

View File

@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17.8"
go-version: "1.19.1"
- run: date
- env:
TARGET: ${{ matrix.target }}

View File

@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17.8"
go-version: "1.19.1"
- run: |
git config --global user.email "github-action@etcd.io"
git config --global user.name "Github Action"

View File

@ -7,7 +7,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17.8"
go-version: "1.19.1"
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.17.8"
go-version: "1.19.1"
- run: date
- env:
TARGET: ${{ matrix.target }}

View File

@ -13,7 +13,7 @@ RUN dnf check-update || true \
ENV GOROOT /usr/local/go
ENV GOPATH /go
ENV PATH ${GOPATH}/bin:${GOROOT}/bin:${PATH}
ENV GO_VERSION 1.17.8
ENV GO_VERSION 1.19.1
ENV GO_DOWNLOAD_URL https://storage.googleapis.com/golang
RUN rm -rf ${GOROOT} \
&& curl -s ${GO_DOWNLOAD_URL}/go${GO_VERSION}.linux-amd64.tar.gz | tar -v -C /usr/local/ -xz \

View File

@ -1,5 +1,5 @@
TMP_DOCKERFILE:=$(shell mktemp)
GO_VERSION ?= 1.17.8
GO_VERSION ?= 1.19.1
TMP_DIR_MOUNT_FLAG = --tmpfs=/tmp:exec
ifdef HOST_TMP_DIR
TMP_DIR_MOUNT_FLAG = --mount type=bind,source=$(HOST_TMP_DIR),destination=/tmp