We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9deac2 commit f4b8d90Copy full SHA for f4b8d90
.github/workflows/golangci-lint.yaml renamed to .github/workflows/lint.yaml
@@ -1,4 +1,4 @@
1
-name: golangci-lint
+name: lint
2
on:
3
push:
4
branches:
@@ -11,15 +11,25 @@ permissions:
11
# pull-requests: read
12
13
jobs:
14
- golangci:
15
- name: lint
+ lint:
+ name: golangci-lint
16
runs-on: ubuntu-latest
17
steps:
18
- uses: actions/checkout@v4
19
- uses: actions/setup-go@v5
20
with:
21
go-version-file: 'go.mod'
22
- name: golangci-lint
23
- uses: golangci/golangci-lint-action@v7
+ 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
31
- version: v2.0.2
32
+ go-version-file: 'go.mod'
33
+ - name: modernize
34
35
+ make modernize
0 commit comments