File tree Expand file tree Collapse file tree 1 file changed +20
-7
lines changed
Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Original file line number Diff line number Diff line change 11name : CI
2- on : [push]
2+ on :
3+ - push
4+ - pull_request
35jobs :
46 build :
57 runs-on : ubuntu-latest-l
6- permissions :
7- contents : read
8- packages : write
9- timeout-minutes : 15
8+ timeout-minutes : 5
109 steps :
1110 - uses : actions/checkout@v4
12- with :
13- fetch-depth : 0
1411 - name : Setup Go
1512 uses : actions/setup-go@v5
1613 with :
2825 - name : Build
2926 run : go build
3027
28+ release :
29+ needs : build
30+ runs-on : ubuntu-latest-l
31+ permissions :
32+ contents : read
33+ packages : write
34+ timeout-minutes : 10
35+ steps :
36+ - uses : actions/checkout@v4
37+ with :
38+ fetch-depth : 0
39+ - name : Setup Go
40+ uses : actions/setup-go@v5
41+ with :
42+ go-version : ' 1.23.3'
43+
3144 - name : Dry run
3245 uses : goreleaser/goreleaser-action@v6
3346 if : ${{ !startsWith(github.ref, 'refs/tags/') }}
You can’t perform that action at this time.
0 commit comments