Skip to content

Commit f4b8d90

Browse files
committed
modify workflow
Signed-off-by: sivchari <[email protected]>
1 parent c9deac2 commit f4b8d90

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed
Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: golangci-lint
1+
name: lint
22
on:
33
push:
44
branches:
@@ -11,15 +11,25 @@ permissions:
1111
# pull-requests: read
1212

1313
jobs:
14-
golangci:
15-
name: lint
14+
lint:
15+
name: golangci-lint
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-go@v5
2020
with:
2121
go-version-file: 'go.mod'
2222
- name: golangci-lint
23-
uses: golangci/golangci-lint-action@v7
23+
run: |
24+
make lint
25+
modernize:
26+
name: modernize
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: actions/setup-go@v5
2431
with:
25-
version: v2.0.2
32+
go-version-file: 'go.mod'
33+
- name: modernize
34+
run: |
35+
make modernize

0 commit comments

Comments
 (0)