diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e8ad79cfd..23fa25af0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,7 @@ jobs: - name: Set up Go environment uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: Tidy go module run: | go mod tidy @@ -81,7 +81,7 @@ jobs: - uses: benjlevesque/short-sha@v3.0 # sets env.SHA to the first 7 chars of github.sha - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - run: mkdir -p "$PWD/gocoverage-unit/" - name: Run Go test -race id: go-test-race @@ -151,7 +151,7 @@ jobs: - uses: actions/download-artifact@v4 - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' cache: false - name: Convert gocoverage format run: | @@ -190,7 +190,7 @@ jobs: name: gocoverage-all-textfmt@${{ env.SHA }} - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' cache: false - name: Send coverage to coveralls.io (unit) if: ${{ always() }} diff --git a/.github/workflows/swagger.yml b/.github/workflows/swagger.yml index 55db5ab1a..54bc119dd 100644 --- a/.github/workflows/swagger.yml +++ b/.github/workflows/swagger.yml @@ -24,7 +24,7 @@ jobs: path: developer-portal - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' cache: false - name: Install swag run: | diff --git a/Dockerfile b/Dockerfile index fbd7f2dc2..d96e5693c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:experimental -FROM golang:1.22 AS builder +FROM golang:1.23 AS builder ARG BUILDARGS diff --git a/README.md b/README.md index 365115464..0ee58438c 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ To run a Vocdoni-node as a gateway, it's recommended to have at least 4 GiB of R #### Compile and run -Compile from source in a golang environment (Go>1.22 required): +Compile from source in a golang environment (Go>1.23 required): ```bash git clone https://github.com/vocdoni/vocdoni-node.git -b release-lts-1 diff --git a/dockerfiles/testsuite/docker-compose.yml b/dockerfiles/testsuite/docker-compose.yml index a32a1f22a..38bae0780 100644 --- a/dockerfiles/testsuite/docker-compose.yml +++ b/dockerfiles/testsuite/docker-compose.yml @@ -101,7 +101,7 @@ services: command: "true" gocoverage: - image: golang:1.22 + image: golang:1.23 volumes: - gocoverage-seed:/app/run/gocoverage/seed - gocoverage-miner0:/app/run/gocoverage/miner0 diff --git a/go.mod b/go.mod index 89c3db364..30e75bd39 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module go.vocdoni.io/dvote -go 1.22.2 +go 1.23.0 // For testing purposes // replace go.vocdoni.io/proto => ../dvote-protobuf