File tree Expand file tree Collapse file tree 3 files changed +50
-8
lines changed
Expand file tree Collapse file tree 3 files changed +50
-8
lines changed Original file line number Diff line number Diff line change 1- name : setup
2- description : " "
1+ name : Setup
2+ description : " Setup the environment "
33
44runs :
55 using : composite
Original file line number Diff line number Diff line change 1- name : ci
1+ name : CI
2+
3+ permissions : {}
4+
5+ defaults :
6+ run :
7+ shell : bash
28
39on :
10+ pull_request :
411 push :
12+ branches :
13+ - main
14+
15+ concurrency :
16+ group : ${{ github.workflow }}-${{ github.ref }}
17+ cancel-in-progress : true
518
619jobs :
720 test :
21+ timeout-minutes : 10
22+ permissions :
23+ contents : read
824 runs-on : ubuntu-latest
925 steps :
1026 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+ with :
28+ persist-credentials : false
1129 - uses : ./.github/actions/setup
1230 - run : go test ./... -race -coverprofile=coverage.out -covermode=atomic
1331 - uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
1432
1533 build :
34+ timeout-minutes : 10
35+ permissions :
36+ contents : read
1637 runs-on : ubuntu-latest
1738 steps :
1839 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1940 with :
20- fetch-depth : 0
41+ persist-credentials : false
2142 - uses : ./.github/actions/setup
2243 - run : go build .
2344
2445 lint :
46+ timeout-minutes : 10
47+ permissions :
48+ contents : read
2549 runs-on : ubuntu-latest
2650 steps :
2751 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
52+ with :
53+ persist-credentials : false
2854 - uses : ./.github/actions/setup
2955 - run : golangci-lint run --verbose ./...
3056
3157 goreleaser :
58+ timeout-minutes : 10
59+ permissions :
60+ contents : read
3261 runs-on : ubuntu-latest
3362 steps :
3463 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
64+ with :
65+ persist-credentials : false
3566 - uses : ./.github/actions/setup
3667 - run : goreleaser check
Original file line number Diff line number Diff line change 1- name : release
1+ name : Release
2+
3+ permissions : {}
4+
5+ defaults :
6+ run :
7+ shell : bash
28
39on :
410 push :
511 tags :
612 - " v*"
713
14+ concurrency :
15+ group : ${{ github.workflow }}-${{ github.ref }}
16+ cancel-in-progress : false
17+
818jobs :
919 release :
10- runs-on : ubuntu-latest
20+ timeout-minutes : 10
1121 permissions :
1222 contents : write
23+ runs-on : ubuntu-latest
1324 steps :
1425 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1526 with :
27+ persist-credentials : false
1628 fetch-depth : 0
1729 - uses : ./.github/actions/setup
18- - name : release
19- run : goreleaser release --clean
30+ - run : goreleaser release --clean
2031 env :
2132 GITHUB_TOKEN : ${{ github.token }}
2233 TAP_GITHUB_TOKEN : ${{ secrets.TAP_GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments