File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ name: Build and release
66on :
77 push :
88 tags : ['v*.*.*']
9- # branches: [master]
109
1110permissions :
1211 contents : write
@@ -23,12 +22,13 @@ jobs:
2322 uses : actions/checkout@v4
2423
2524 - name : Show version
26- run : echo " Releasing version $RELEASE_VERSION"
25+ run : echo ' Releasing version $RELEASE_VERSION'
2726
2827 - name : Set up Go
2928 uses : actions/setup-go@v4
3029 with :
31- go-version : " 1.23"
30+ go-version : ' 1.23.x'
31+ cache : ' go-mod'
3232
3333 - name : Run code generation
3434 run : go generate ./...
@@ -38,14 +38,15 @@ jobs:
3838
3939 build :
4040 runs-on : ubuntu-latest
41- needs : " test"
41+ needs : ' test'
4242 steps :
4343 - uses : actions/checkout@v4
4444
4545 - name : Set up Go
4646 uses : actions/setup-go@v4
4747 with :
48- go-version : " 1.23"
48+ go-version : ' 1.23.x'
49+ cache : ' go-mod'
4950
5051 - name : Create bin directory
5152 run : mkdir -p bin/
Original file line number Diff line number Diff line change 1414 - name : Set up Go
1515 uses : actions/setup-go@v4
1616 with :
17- go-version : " 1.23"
17+ go-version : " 1.23.x"
18+ cache : " go-mod"
19+
20+ - name : Run code generation
21+ run : go generate ./...
1822
1923 - name : Run tests
2024 run : make test
You can’t perform that action at this time.
0 commit comments