We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 171145b commit 0e97bbbCopy full SHA for 0e97bbb
.github/workflows/lint.yaml
@@ -0,0 +1,32 @@
1
+# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2
+
3
+name: Lint
4
5
+permissions: {}
6
7
+on:
8
+ pull_request:
9
+ branches:
10
+ - main
11
+ push:
12
13
14
15
+concurrency:
16
+ group: ${{ github.workflow }}-${{ github.ref }}
17
+ cancel-in-progress: true
18
19
+jobs:
20
+ required:
21
+ runs-on: ubuntu-latest
22
+ steps:
23
+ - name: Checkout
24
+ uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
25
+ - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
26
+ with:
27
+ go-version-file: go.mod
28
+ cache-dependency-path: go.sum
29
+ - name: golangci-lint
30
+ uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
31
32
+ skip-cache: true
0 commit comments