Skip to content

Commit df1ad97

Browse files
authored
Update go.yml
1 parent 83c3ca1 commit df1ad97

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/go.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,18 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- name: Checkout with Submodules
18+
uses: actions/checkout@v4
19+
with:
20+
submodules: recursive
21+
fetch-depth: 0
1822

1923
- name: Set up Go
20-
uses: actions/setup-go@v3
24+
uses: actions/setup-go@v5
2125
with:
2226
go-version: 1.24
23-
27+
cache: true
28+
2429
- name: Build API Gateway
2530
working-directory: ./persys-gateway
2631
run: |
@@ -79,4 +84,4 @@ jobs:
7984
working-directory: ./persysctl
8085
run: |
8186
go mod download
82-
cd cmd && go build -o main
87+
cd cmd && go build -o main

0 commit comments

Comments
 (0)