File tree Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Expand file tree Collapse file tree 3 files changed +41
-1
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 99 - uses : willabides/setup-go-faster@v1
1010 with :
1111 go-version : ' 1.20.x'
12- - run : script/generate --check
12+ - uses : actions/cache@v3
13+ with :
14+ path : |
15+ ${{ steps.setup-go.outputs.GOCACHE }}
16+ ${{ steps.setup-go.outputs.GOMODCACHE }}
17+ key : ${{ runner.os }}-go-test-${{ hashFiles('**/go.sum') }}
18+ restore-keys : ${{ runner.os }}-go-test
1319 - run : script/test
1420 - run : script/lint
21+ - run : script/generate --check
Original file line number Diff line number Diff line change 1+ name : releasable
2+ on :
3+ pull_request :
4+ branches :
5+ - main
6+ types :
7+ - labeled
8+ - unlabeled
9+ - synchronize
10+ - opened
11+ - reopened
12+ workflow_dispatch :
13+ jobs :
14+ releasable :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v3
18+ - uses : WillAbides/setup-go-faster@v1
19+ id : setup-go
20+ with :
21+ go-version : ' 1.20.x'
22+ - uses : actions/cache@v3
23+ with :
24+ path : |
25+ ${{ steps.setup-go.outputs.GOCACHE }}
26+ ${{ steps.setup-go.outputs.GOMODCACHE }}
27+ key : ${{ runner.os }}-releasable-${{ hashFiles('**/go.sum') }}
28+ restore-keys : ${{ runner.os }}-releasable-
29+ - run : script/bindown -q semver-next
30+ - name : check releasable
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33+ run : bin/semver-next "$GITHUB_REPOSITORY" -r "$GITHUB_SHA" --require-labels
You can’t perform that action at this time.
0 commit comments