Skip to content

Commit

Permalink
Update Go version to 1.20 (#110)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Motičák <peter.moticak@pantheon.tech>
  • Loading branch information
pemoticak authored Aug 15, 2023
1 parent 3727796 commit c5444da
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.18'
go-version: 1.20.x
- run: go mod tidy -v
- name: "Check for changes in go.mod"
run: |
Expand All @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.18'
go-version: 1.20.x
- run: go mod download
- name: "Compile Go code"
run: |
Expand Down
2 changes: 1 addition & 1 deletion docker/dev.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*

# Install Go
ENV GOLANG_VERSION 1.18.3
ENV GOLANG_VERSION 1.20.7
RUN set -eux; \
dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
Expand Down
2 changes: 1 addition & 1 deletion docker/mockcnf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN apt-get update && apt-get install -y \
rm -rf /var/lib/apt/lists/*

# Install Go
ENV GOLANG_VERSION 1.18.3
ENV GOLANG_VERSION 1.20.7
RUN set -eux; \
dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
Expand Down
2 changes: 1 addition & 1 deletion docker/proto-rootgen/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN apt-get update && apt-get install -y \
rm -rf /var/lib/apt/lists/*

# Install Go
ENV GOLANG_VERSION 1.18.3
ENV GOLANG_VERSION 1.20.7
RUN set -eux; \
dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module go.pantheon.tech/stonework

go 1.18
go 1.20

require (
github.com/apparentlymart/go-cidr v1.1.0
Expand Down

0 comments on commit c5444da

Please sign in to comment.