File tree Expand file tree Collapse file tree 4 files changed +15
-14
lines changed Expand file tree Collapse file tree 4 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 1- name : image
1+ name : Build image
22
33on :
44 push :
Original file line number Diff line number Diff line change 44 push :
55 pull_request :
66 types : [opened, reopened]
7+
78jobs :
89 golangci :
910 name : lint
1011 runs-on : ubuntu-latest
1112 steps :
1213 - uses : actions/checkout@v4
14+
1315 - uses : actions/setup-go@v5
1416 with :
15- go-version : ' 1.22 '
16- cache : false
17+ go-version : stable
18+
1719 - name : golangci-lint
1820 uses : golangci/golangci-lint-action@v6
19- with :
20- version : v1.54
Original file line number Diff line number Diff line change 1- name : goreleaser
1+ name : Release on tag
22
33on :
44 push :
@@ -15,20 +15,20 @@ jobs:
1515 - uses : actions/checkout@v4
1616 with :
1717 fetch-depth : 0
18+
1819 - run : git fetch --force --tags
20+
1921 - uses : actions/setup-go@v5
2022 with :
2123 go-version : stable
24+
2225 - uses : goreleaser/goreleaser-action@v6
2326 with :
24- distribution : goreleaser
25- version : latest
2627 args : release --clean
2728 env :
2829 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30+
2931 helm-release :
30- permissions :
31- contents : write
3232 runs-on : ubuntu-latest
3333 steps :
3434 - name : Checkout
4646
4747 - name : Run chart-releaser
484849- with :
50- charts_dir : charts
5149 env :
5250 CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change 44 push :
55 pull_request :
66 types : [opened, reopened]
7+
78jobs :
89 build :
910 runs-on : ubuntu-latest
1011 steps :
1112 - uses : actions/checkout@v4
1213 with :
1314 fetch-depth : 2
15+
1416 - uses : actions/setup-go@v5
1517 with :
16- go-version : ' 1.22'
18+ go-version : stable
19+
1720 - name : Run tests
18- run : go test -v ./...
21+ run : go test -v ./...
You can’t perform that action at this time.
0 commit comments