diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index d933dad356..2dac8df673 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -40,7 +40,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 with: - go-version: "1.22.5" + go-version-file: 'service/go.mod' check-latest: false cache-dependency-path: | examples/go.sum @@ -93,7 +93,7 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 with: - go-version: "1.22.5" + go-version-file: 'service/go.mod' check-latest: false cache-dependency-path: | service/go.sum @@ -180,7 +180,7 @@ jobs: against: "https://github.com/opentdf/platform.git#branch=main,subdir=service" - uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 with: - go-version: "1.22.5" + go-version-file: 'service/go.mod' check-latest: false cache-dependency-path: | service/go.sum @@ -223,7 +223,7 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 with: - go-version: "1.22.5" + go-version-file: 'service/go.mod' check-latest: false cache: false - name: install go-licenses diff --git a/go.work b/go.work index f8ccbe0459..3eeb008372 100644 --- a/go.work +++ b/go.work @@ -1,4 +1,4 @@ -go 1.21 +go 1.22 use ( ./examples diff --git a/service/go.mod b/service/go.mod index c79be8015c..51f7eec5e3 100644 --- a/service/go.mod +++ b/service/go.mod @@ -1,6 +1,6 @@ module github.com/opentdf/platform/service -go 1.21 +go 1.22 require ( github.com/Masterminds/squirrel v1.5.4