File tree Expand file tree Collapse file tree 5 files changed +8
-25
lines changed
Expand file tree Collapse file tree 5 files changed +8
-25
lines changed Original file line number Diff line number Diff line change 2727 runs-on : ubuntu-latest
2828 timeout-minutes : 15
2929
30- strategy :
31- matrix :
32- # Without quotes, 1.20 becomes 1.2!
33- go-version : ["1.22"]
3430 steps :
3531 - name : checkout
3632 uses : actions/checkout@v4
3935
4036 - uses : actions/setup-go@v5
4137 with :
42- go-version : ${{ matrix.go-version }}
38+ go-version-file : " src/gabo/go.mod "
4339 cache : false # Disable caching to avoid cache poisoning
4440
4541 - name : Install Go Releaser
Original file line number Diff line number Diff line change @@ -28,20 +28,16 @@ jobs:
2828 runs-on : ubuntu-latest
2929 timeout-minutes : 15
3030
31- strategy :
32- matrix :
33- # Without quotes, 1.20 becomes 1.2!
34- go-version : ["1.22"]
3531 steps :
3632 - name : checkout
3733 uses : actions/checkout@v4
3834 with :
3935 persist-credentials : false
4036
41- - name : Set up Go ${{ matrix.go-version }}
37+ - name : Set up Go
4238 uses : actions/setup-go@v5
4339 with :
44- go-version : ${{ matrix.go-version }}
40+ go-version-file : " src/gabo/go.mod "
4541
4642 # Ref: https://github.com/actions/cache/blob/main/examples.md#go---modules
4743 # Warning: This is Linux specific
Original file line number Diff line number Diff line change @@ -28,20 +28,16 @@ jobs:
2828 runs-on : ubuntu-latest
2929 timeout-minutes : 15
3030
31- strategy :
32- matrix :
33- # Without quotes, 1.20 becomes 1.2!
34- go-version : ["1.22"]
3531 steps :
3632 - name : checkout
3733 uses : actions/checkout@v4
3834 with :
3935 persist-credentials : false
4036
41- - name : Set up Go ${{ matrix.go-version }}
37+ - name : Set up Go
4238 uses : actions/setup-go@v5
4339 with :
44- go-version : ${{ matrix.go-version }}
40+ go-version-file : " src/gabo/go.mod "
4541
4642 # Ref: https://github.com/actions/cache/blob/main/examples.md#go---modules
4743 # Warning: This is Linux specific
Original file line number Diff line number Diff line change 1- # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
21---
32name : Create release
43
3433 - name : Setup Go
3534 uses : actions/setup-go@v5
3635 with :
37- go-version : stable
36+ go-version-file : " src/gabo/go.mod "
3837 cache : false # Disable caching to avoid cache poisoning
3938
4039 - name : Read gabo version name
Original file line number Diff line number Diff line change @@ -28,20 +28,16 @@ jobs:
2828 runs-on : ubuntu-latest
2929 timeout-minutes : 15
3030
31- strategy :
32- matrix :
33- # Without quotes, 1.20 becomes 1.2!
34- go-version : ["1.22"]
3531 steps :
3632 - name : checkout
3733 uses : actions/checkout@v4
3834 with :
3935 persist-credentials : false
4036
41- - name : Set up Go ${{ matrix.go-version }}
37+ - name : Set up Go
4238 uses : actions/setup-go@v5
4339 with :
44- go-version : ${{ matrix.go-version }}
40+ go-version-file : " src/gabo/go.mod "
4541
4642 # Ref: https://github.com/actions/cache/blob/main/examples.md#go---modules
4743 # Warning: This is Linux specific
You can’t perform that action at this time.
0 commit comments