Skip to content

Commit 34e46f2

Browse files
fix(ci): resolve go-licenses failure by upgrading to Go 1.25.x
1 parent 7738966 commit 34e46f2

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,16 @@ jobs:
180180
with:
181181
node-version: 22.x
182182

183-
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
183+
# Pin Go only for license generation
184+
- name: Use Go 1.25.1 for license scan
185+
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
184186
with:
185-
go-version: ">=1.23.0"
187+
go-version: "1.25.1"
188+
check-latest: true
189+
- name: Pin toolchain for this step
190+
run: |
191+
go version
192+
go env -w GOTOOLCHAIN=local
186193
187194
- name: Checkout Sample Web UI for license scan
188195
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
networks:
66
- openamtnetwork1
77
volumes:
8-
- pg-data:/var/lib/postgresql/data
8+
- pg-data:/var/lib/postgresql
99
environment:
1010
POSTGRES_USER: "postgresadmin"
1111
POSTGRES_PASSWORD: "admin123"

0 commit comments

Comments
 (0)