Skip to content

Commit 2c1661a

Browse files
committed
fix:修复github action 后端检测失败问题
1 parent 7c268b9 commit 2c1661a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: '1.21'
18+
go-version-file: ./platform-backend/go.mod
1919

2020
- name: Go test
2121
working-directory: ./platform-backend
@@ -55,7 +55,7 @@ jobs:
5555
- name: Set up Go
5656
uses: actions/setup-go@v5
5757
with:
58-
go-version: '1.21'
58+
go-version-file: ./agent/go.mod
5959

6060
- name: Go test
6161
working-directory: ./agent

0 commit comments

Comments
 (0)