File tree Expand file tree Collapse file tree 3 files changed +29
-9
lines changed
Expand file tree Collapse file tree 3 files changed +29
-9
lines changed Original file line number Diff line number Diff line change 1+ name : ' Setup-Go'
2+ description : ' Setup go with dependencies'
3+ runs :
4+ using : composite
5+ steps :
6+
7+ - uses : actions/setup-go@v6
8+ with :
9+ go-version-file : ' go.mod'
10+ cache-dependency-path : " go.sum"
11+ check-latest : true
12+
13+ - name : GoLang dependencies
14+ shell : bash
15+ run : |
16+ go mod vendor
Original file line number Diff line number Diff line change 1+ name : ' Setup-Runner'
2+ description : ' Setup runner'
3+ runs :
4+ using : composite
5+ steps :
6+ - name : Set Swap Space
7+ uses : pierotofy/set-swap-space@fc79b3f67fa8a838184ce84a674ca12238d2c761
8+ with :
9+ swap-size-gb : 12
Original file line number Diff line number Diff line change 88 steps :
99 - uses : actions/checkout@v2
1010
11- - name : Set Swap Space
12- uses : pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c
13- with :
14- swap-size-gb : 12
11+ - name : Setup runner
12+ uses : ./.github/actions/setup-runner
1513
16- - uses : actions/setup-go@v5
17- with :
18- go-version-file : ' go.mod'
19- cache-dependency-path : " go.sum"
20- check-latest : true
14+ - name : Setup go
15+ uses : ./.github/actions/setup-go
2116
2217 - name : Run Golangci lint
2318 uses : golangci/golangci-lint-action@v7
You can’t perform that action at this time.
0 commit comments