Skip to content

Commit

Permalink
Revert "chore: bump Go to 1.23"
Browse files Browse the repository at this point in the history
This reverts commit c26e9e3.
  • Loading branch information
alnr committed Jan 31, 2025
1 parent 07f27ee commit b2fb4ef
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .docker/Dockerfile-local-build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23 AS builder
FROM golang:1.22 AS builder

WORKDIR /go/src/github.com/ory/hydra

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-go@v3
with:
go-version: "1.23"
go-version: "1.22"
- name: Start service
run: ./test/conformance/start.sh
- name: Run tests
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
key: ${{ needs.sdk-generate.outputs.sdk-cache-key }}
- uses: actions/setup-go@v4
with:
go-version: "1.23"
go-version: "1.22"
- run: go list -json > go.list
- name: Run nancy
uses: sonatype-nexus-community/[email protected]
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
key: ${{ needs.sdk-generate.outputs.sdk-cache-key }}
- uses: actions/setup-go@v3
with:
go-version: "1.23"
go-version: "1.22"
- name: Setup HSM libs and packages
run: |
sudo apt install -y softhsm2 opensc
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
- uses: ory/ci/checkout@master
- uses: actions/setup-go@v3
with:
go-version: "1.23"
go-version: "1.22"
- uses: actions/cache@v2
with:
path: ./test/e2e/hydra
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: "1.23"
go-version: "1.22"
- run: go version

# Initializes the CodeQL tools for scanning.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.23"
go-version: "1.22"
- run: make format
- name: Indicate formatting issues
run: git diff HEAD --exit-code --color
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/ory/hydra/v2

go 1.23
go 1.22

toolchain go1.22.5

replace github.com/ory/hydra-client-go/v2 => ./internal/httpclient

Expand Down
2 changes: 1 addition & 1 deletion test/conformance/hydra/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23 AS builder
FROM golang:1.22 AS builder

RUN apt-get update && \
apt-get install --no-install-recommends -y \
Expand Down

0 comments on commit b2fb4ef

Please sign in to comment.