Skip to content

Commit

Permalink
Update Go (#222)
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Fabry <ondrej@fabry.dev>
  • Loading branch information
ondrej-fabry authored Jun 27, 2024
1 parent 2ca162e commit 8532cee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: "Setup Go"
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'

- name: "Run Tests"
run: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN set -eux; \
rm -rf /var/lib/apt/lists/*; \
rm -rf /pkg

FROM golang:1.21-alpine3.19 as binapi-generator
FROM golang:1.22-alpine3.19 as binapi-generator

ENV GO111MODULE=on
ENV CGO_ENABLED=0
Expand Down
6 changes: 3 additions & 3 deletions test/build/Dockerfile.integration
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM buildpack-deps:20.04-scm
FROM buildpack-deps:22.04-scm

# Install gotestsum
ARG GOTESTSUM_VERSION=1.10.0
ARG GOTESTSUM_VERSION=1.12.0
RUN set -eux; \
curl -fsSL https://github.com/gotestyourself/gotestsum/releases/download/v${GOTESTSUM_VERSION}/gotestsum_${GOTESTSUM_VERSION}_linux_amd64.tar.gz -o gotestsum.tar.gz; \
tar -xf gotestsum.tar.gz gotestsum; \
mv gotestsum /usr/local/bin/gotestsum; \
rm gotestsum.tar.gz;

# Install Go
ENV GOLANG_VERSION 1.20
ENV GOLANG_VERSION 1.22.4

RUN set -eux; \
dpkgArch="$(dpkg --print-architecture)"; \
Expand Down

0 comments on commit 8532cee

Please sign in to comment.