Skip to content

Commit a458b25

Browse files
committed
cleanup: github actions
1 parent 8cb4ec3 commit a458b25

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

.github/workflows/image.yml renamed to .github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: image
1+
name: Build image
22

33
on:
44
push:

.github/workflows/golanglint-ci.yml renamed to .github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@ on:
44
push:
55
pull_request:
66
types: [opened, reopened]
7+
78
jobs:
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

.github/workflows/release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: goreleaser
1+
name: Release on tag
22

33
on:
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
@@ -46,7 +46,5 @@ jobs:
4646

4747
- name: Run chart-releaser
4848
uses: helm/[email protected]
49-
with:
50-
charts_dir: charts
5149
env:
5250
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ on:
44
push:
55
pull_request:
66
types: [opened, reopened]
7+
78
jobs:
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 ./...

0 commit comments

Comments
 (0)