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/checkout@v2
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: "1.17.8" go-version: "1.19.1"
- env: - env:
TARGET: ${{ matrix.target }} TARGET: ${{ matrix.target }}
run: | run: |

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -13,7 +13,7 @@ RUN dnf check-update || true \
ENV GOROOT /usr/local/go ENV GOROOT /usr/local/go
ENV GOPATH /go ENV GOPATH /go
ENV PATH ${GOPATH}/bin:${GOROOT}/bin:${PATH} 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 ENV GO_DOWNLOAD_URL https://storage.googleapis.com/golang
RUN rm -rf ${GOROOT} \ RUN rm -rf ${GOROOT} \
&& curl -s ${GO_DOWNLOAD_URL}/go${GO_VERSION}.linux-amd64.tar.gz | tar -v -C /usr/local/ -xz \ && 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) TMP_DOCKERFILE:=$(shell mktemp)
GO_VERSION ?= 1.17.8 GO_VERSION ?= 1.19.1
TMP_DIR_MOUNT_FLAG = --tmpfs=/tmp:exec TMP_DIR_MOUNT_FLAG = --tmpfs=/tmp:exec
ifdef HOST_TMP_DIR ifdef HOST_TMP_DIR
TMP_DIR_MOUNT_FLAG = --mount type=bind,source=$(HOST_TMP_DIR),destination=/tmp TMP_DIR_MOUNT_FLAG = --mount type=bind,source=$(HOST_TMP_DIR),destination=/tmp