diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d3da9e4f..dee95a90 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,9 +27,9 @@ jobs: # macos tests are currently failing in CI #- macos-latest golang_version: - # TODO: add 1.23.x and tip + # TODO: add 1.24.x and tip # minimum required and latest published go_version - - "1.22" + - "1.23" test_block: - basic - shell diff --git a/docker/Dockerfile b/docker/Dockerfile index af54a4f1..3b7c785a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22 +FROM golang:1.23 MAINTAINER Michał Czeraszkiewicz diff --git a/docker/Dockerfile.build b/docker/Dockerfile.build index 1bc7f5dc..86e9e8c0 100644 --- a/docker/Dockerfile.build +++ b/docker/Dockerfile.build @@ -6,7 +6,7 @@ ENV PATH=/opt/rh/rh-ruby22/root/usr/bin:/root/gopath/bin:/usr/local/sbin:/sbin:/ ENV LD_LIBRARY_PATH=/opt/rh/rh-ruby22/root/usr/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} ENV PKG_CONFIG_PATH=/opt/rh/rh-ruby22/root/usr/lib64/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}} -RUN yum -y install epel-release wget unzip git make which centos-release-scl gcc && sed -i "s/enabled=0/enabled=1/" /etc/yum.repos.d/epel-testing.repo && yum -y install rh-ruby22 && wget -O /opt/go1.22.11.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.22.11.linux-amd64.tar.gz && tar -C /usr/local -xzf /opt/go1.22.11.linux-amd64.tar.gz +RUN yum -y install epel-release wget unzip git make which centos-release-scl gcc && sed -i "s/enabled=0/enabled=1/" /etc/yum.repos.d/epel-testing.repo && yum -y install rh-ruby22 && wget -O /opt/go1.23.5.linux-amd64.tar.gz https://storage.googleapis.com/golang/go1.23.5.linux-amd64.tar.gz && tar -C /usr/local -xzf /opt/go1.23.5.linux-amd64.tar.gz RUN mkdir -p $GOPATH/src/github.com/purpleidea && cd $GOPATH/src/github.com/purpleidea && git clone --recursive https://github.com/purpleidea/mgmt RUN go get -u gopkg.in/alecthomas/gometalinter.v1 && cd $GOPATH/src/github.com/purpleidea/mgmt && make deps && make build CMD ["/bin/bash"] diff --git a/docker/Dockerfile.development b/docker/Dockerfile.development index 7acefb47..0128cadf 100644 --- a/docker/Dockerfile.development +++ b/docker/Dockerfile.development @@ -1,4 +1,4 @@ -FROM golang:1.22 +FROM golang:1.23 MAINTAINER Michał Czeraszkiewicz diff --git a/examples/lib/go.mod b/examples/lib/go.mod index 030c8c18..3e63b8a3 100644 --- a/examples/lib/go.mod +++ b/examples/lib/go.mod @@ -1,6 +1,6 @@ module main -go 1.22.5 +go 1.23.5 require ( github.com/Microsoft/go-winio v0.6.2 // indirect diff --git a/go.mod b/go.mod index f3e846a5..38a13d69 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/purpleidea/mgmt -go 1.22.11 +go 1.23.5 require ( github.com/alexflint/go-arg v1.5.1