From fed54e0baae34ac8ef337bac2c2f3ae6b9a3bae6 Mon Sep 17 00:00:00 2001 From: jakedoublev Date: Tue, 20 Aug 2024 15:08:26 -0700 Subject: [PATCH 1/2] fix(core): bump go version to 1.22 --- go.work | 2 +- service/go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 From e73312ce67f7a10679a02f7ee419a89ce6cdbbbc Mon Sep 17 00:00:00 2001 From: jakedoublev Date: Tue, 20 Aug 2024 15:10:07 -0700 Subject: [PATCH 2/2] use go version of service module in CI --- .github/workflows/checks.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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