Skip to content

Commit

Permalink
CI: go 1.22
Browse files Browse the repository at this point in the history
Signed-off-by: Kohei Tokunaga <[email protected]>
  • Loading branch information
ktock committed May 22, 2024
1 parent 44f3063 commit 4d4411c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'
- name: Install k3d
run: |
wget -q -O - https://raw.githubusercontent.com/rancher/k3d/v5.6.0/install.sh | bash
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
fetch-depth: '0'
- uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'
- name: golangci-lint
uses: golangci/[email protected]
with:
Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'
- name: Install k3d
run: |
wget -q -O - https://raw.githubusercontent.com/rancher/k3d/v5.6.0/install.sh | bash
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'
- name: Install k3d
run: |
wget -q -O - https://raw.githubusercontent.com/rancher/k3d/v5.6.0/install.sh | bash
Expand Down Expand Up @@ -278,12 +278,12 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: '1.22.x'
- uses: actions/checkout@v4
with:
path: src/github.com/containerd/stargz-snapshotter
fetch-depth: 25
- uses: containerd/project-checks@v1
- uses: containerd/project-checks@v1.1.0
with:
working-directory: src/github.com/containerd/stargz-snapshotter
- name: Check proto generated code
Expand Down
2 changes: 1 addition & 1 deletion script/cri-containerd/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ ENV PATH=$PATH:/usr/local/go/bin
ENV GOPATH=/go
# Do not install git and its dependencies here which will cause failure of building the image
RUN apt-get update && apt-get install -y --no-install-recommends make && \
curl -Ls https://dl.google.com/go/go1.21.4.linux-\${TARGETARCH:-amd64}.tar.gz | tar -C /usr/local -xz && \
curl -Ls https://dl.google.com/go/go1.22.3.linux-\${TARGETARCH:-amd64}.tar.gz | tar -C /usr/local -xz && \
go install github.com/onsi/ginkgo/ginkgo@${GINKGO_VERSION} && \
mkdir -p \${GOPATH}/src/github.com/kubernetes-sigs/cri-tools /tmp/cri-tools && \
curl -sL https://github.com/kubernetes-sigs/cri-tools/archive/refs/tags/v${CRI_TOOLS_VERSION}.tar.gz | tar -C /tmp/cri-tools -xz && \
Expand Down
2 changes: 1 addition & 1 deletion script/cri-o/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ENV PATH=$PATH:/usr/local/go/bin
ENV GOPATH=/go
# Do not install git and its dependencies here which will cause failure of building the image
RUN apt-get update && apt-get install -y --no-install-recommends make && \
curl -Ls https://dl.google.com/go/go1.21.4.linux-\${TARGETARCH:-amd64}.tar.gz | tar -C /usr/local -xz && \
curl -Ls https://dl.google.com/go/go1.22.3.linux-\${TARGETARCH:-amd64}.tar.gz | tar -C /usr/local -xz && \
go install github.com/onsi/ginkgo/ginkgo@${GINKGO_VERSION} && \
mkdir -p \${GOPATH}/src/github.com/kubernetes-sigs/cri-tools /tmp/cri-tools && \
curl -sL https://github.com/kubernetes-sigs/cri-tools/archive/refs/tags/v${CRI_TOOLS_VERSION}.tar.gz | tar -C /tmp/cri-tools -xz && \
Expand Down

0 comments on commit 4d4411c

Please sign in to comment.