diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 811c1372..08435898 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,7 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: "1.20" + go-version: "1.22" - name: Checkout branch uses: actions/checkout@v3 @@ -32,7 +32,7 @@ jobs: # - name: Install go # uses: actions/setup-go@v3 # with: -# go-version: "1.20" +# go-version: "1.22" # # - name: Install os dependencies # run: sudo apt-get install -y libvips-tools libvips-dev && vips -v diff --git a/Dockerfile b/Dockerfile index 26b104bd..e9d21f64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN apk update RUN apk upgrade RUN apk add --update bash cmake g++ gcc git make vips-dev -COPY --from=golang:1.20-alpine /usr/local/go/ /usr/local/go/ +COPY --from=golang:1.22-alpine /usr/local/go/ /usr/local/go/ ENV PATH="/usr/local/go/bin:${PATH}" WORKDIR /deso/src diff --git a/go.mod b/go.mod index a5a3ac73..318adc58 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/deso-protocol/backend -go 1.20 +go 1.22 replace github.com/deso-protocol/core => ../core/ diff --git a/test.Dockerfile b/test.Dockerfile index 89bc12bb..53954666 100644 --- a/test.Dockerfile +++ b/test.Dockerfile @@ -4,7 +4,7 @@ RUN apk update RUN apk upgrade RUN apk add --update bash cmake g++ gcc git make vips-dev -COPY --from=golang:1.20-alpine /usr/local/go/ /usr/local/go/ +COPY --from=golang:1.22-alpine /usr/local/go/ /usr/local/go/ ENV PATH="/usr/local/go/bin:${PATH}" # Declare an ARG for the branch name with a default value of "main"