File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 build :
55 strategy :
66 matrix :
7- go-version : ['1.20.0']
8- os : [ubuntu-latest]
9- runs-on : ${{ matrix.os }}
7+ go-version : ['stable']
8+ runs-on : ubuntu-latest
109 steps :
10+ - name : Checkout code
11+ uses : actions/checkout@v3
1112 - name : Install Go
1213 uses : actions/setup-go@v3
1314 with :
1415 go-version : ${{ matrix.go-version }}
15- - name : Checkout code
16- uses : actions/checkout@v3
17- - name : Cash Builder
18- uses : actions/cache@v3
19- with :
20- path : |
21- ~/.cache/go-build
22- ~/go/pkg/mod
23- key : ${{ runner.os }}-go-${{ matrix.go-version }}
16+ check-latest : true
17+ cache : true
2418 - name : Build
2519 run : go build
Original file line number Diff line number Diff line change 1818 name : Set up Go
1919 uses : actions/setup-go@v3
2020 with :
21- go-version : ${{ secrets.GO_LATEST }}
21+ go-version : stable
22+ check-latest : true
23+ cache : true
2224 -
2325 name : Import GPG key
2426 id : import_gpg
3032 name : Run GoReleaser
3133 uses : goreleaser/goreleaser-action@v4
3234 with :
33- # either 'goreleaser' (default) or 'goreleaser-pro'
3435 distribution : goreleaser
3536 version : latest
3637 args : release --clean
3738 env :
3839 GITHUB_TOKEN : ${{ secrets.GIT_PAT }}
3940 GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
40- # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
41- # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
42-
You can’t perform that action at this time.
0 commit comments