File tree Expand file tree Collapse file tree 3 files changed +80
-0
lines changed
Expand file tree Collapse file tree 3 files changed +80
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ - package-ecosystem : " gomod"
8+ directory : " /"
9+ schedule :
10+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : " CodeQL"
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+ # The branches below must be a subset of the branches above
8+ branches : ["main"]
9+ schedule :
10+ - cron : " 15 23 * * 5"
11+
12+ jobs :
13+ analyze :
14+ name : Analyze
15+ runs-on : ubuntu-latest
16+ permissions :
17+ actions : read
18+ contents : read
19+ security-events : write
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ language : ["go"]
25+
26+ steps :
27+ - name : Checkout repository
28+ uses : actions/checkout@v4
29+
30+ - name : Initialize CodeQL
31+ uses : github/codeql-action/init@v3
32+ with :
33+ languages : ${{ matrix.language }}
34+
35+ - name : Autobuild
36+ uses : github/codeql-action/autobuild@v3
37+
38+ - name : Perform CodeQL Analysis
39+ uses : github/codeql-action/analyze@v3
40+ with :
41+ category : " /language:${{matrix.language}}"
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+
8+ jobs :
9+ goreleaser :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Set up Go
18+ uses : actions/setup-go@v5
19+ with :
20+ go-version : stable
21+
22+ - name : Run GoReleaser
23+ uses : goreleaser/goreleaser-action@v6
24+ with :
25+ version : latest
26+ args : release --clean
27+ env :
28+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
29+ HOMEBREW_TAP_GITHUB_TOKEN : ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments