File tree Expand file tree Collapse file tree 4 files changed +31
-134
lines changed
Expand file tree Collapse file tree 4 files changed +31
-134
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ tags : ["v*"]
7+ pull_request :
8+ branches : [main]
9+
10+ jobs :
11+ golang :
12+ name : Golang
13+ permissions :
14+ contents : write
15+ pull-requests : write
16+ checks : write
17+ uses : depado/github-actions/.github/workflows/golang.yml@main
18+ with :
19+ build-command : " make build"
20+
21+ docker :
22+ name : Docker
23+ needs : [golang]
24+ permissions :
25+ contents : read
26+ packages : write
27+ actions : read
28+ uses : depado/github-actions/.github/workflows/docker.yml@main
29+ secrets :
30+ cleanup-token : ${{ secrets.PAT_DELETE_PACKAGES }}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,21 +9,4 @@ permissions:
99
1010jobs :
1111 goreleaser :
12- runs-on : ubuntu-latest
13- steps :
14- - name : Checkout
15- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
16- with :
17- fetch-depth : 0
18- - name : Set up Go
19- uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
20- with :
21- go-version : stable
22- - name : Run GoReleaser
23- uses : goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6
24- with :
25- distribution : goreleaser
26- version : " ~> v2"
27- args : release --clean
28- env :
29- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
12+ uses : depado/github-actions/.github/workflows/goreleaser.yml@main
You can’t perform that action at this time.
0 commit comments