@@ -5,45 +5,44 @@ defaults:
5
5
run :
6
6
shell : bash
7
7
8
-
9
8
jobs :
10
-
11
9
sh-euox-pipefail-check :
12
10
name : " Shell pipefail check"
13
11
runs-on : ubuntu-latest
14
-
12
+
15
13
steps :
16
14
- uses : actions/checkout@v3
17
15
18
16
- name : Run 'set -euox pipefail' check
19
17
run : bash ./.github/scripts/ensure_set_euox_pipefail.sh
20
-
18
+
21
19
md-link-check :
22
20
name : " Broken Markdown links"
23
21
runs-on : ubuntu-latest
24
-
22
+
25
23
steps :
26
24
- uses : actions/checkout@v3
27
25
28
26
- name : Run Markdown link check
29
27
uses : gaurav-nelson/github-action-markdown-link-check@v1
30
28
with :
31
- config-file : ' .github/linters/mlc_config.json'
32
- use-quiet-mode : ' yes'
33
-
29
+ config-file : " .github/linters/mlc_config.json"
30
+ use-quiet-mode : " yes"
31
+
34
32
go-lint :
35
33
# We can't use VALIDATE_GO from super linter because of this issue:
36
34
# https://github.com/github/super-linter/issues/143
37
35
name : " Golang"
38
36
runs-on : ubuntu-latest
39
-
37
+
40
38
steps :
41
39
- uses : actions/checkout@v3
42
40
43
- - uses : actions/setup-go@v3
41
+ - uses : actions/setup-go@v4
44
42
with :
45
43
go-version-file : ./go.mod
46
-
44
+ cache : false # to bypass https://github.com/golangci/golangci-lint-action/issues/23
45
+
47
46
- name : Run golangci-lint
48
47
uses : golangci/golangci-lint-action@v3
49
48
with :
@@ -53,30 +52,30 @@ jobs:
53
52
super-lint :
54
53
name : " Super Linter"
55
54
runs-on : ubuntu-latest
56
-
55
+
57
56
steps :
58
- - uses : actions/checkout@v3
59
- with :
60
- fetch-depth : 0 # Required to fetch version
57
+ - uses : actions/checkout@v3
58
+ with :
59
+ fetch-depth : 0 # Required to fetch version
61
60
62
- - name : Run Super Linter
63
- uses : github/super-linter/slim@v4
64
- env :
65
- IGNORE_GITIGNORED_FILES : true
66
- FILTER_REGEX_EXCLUDE : vue/.*
67
- DEFAULT_BRANCH : main
68
- GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
69
- LOG_LEVEL : WARN
70
- VALIDATE_ALL_CODEBASE : true
71
- MULTI_STATUS : true
61
+ - name : Run Super Linter
62
+ uses : github/super-linter/slim@v4
63
+ env :
64
+ IGNORE_GITIGNORED_FILES : true
65
+ FILTER_REGEX_EXCLUDE : vue/.*
66
+ DEFAULT_BRANCH : main
67
+ GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
68
+ LOG_LEVEL : WARN
69
+ VALIDATE_ALL_CODEBASE : true
70
+ MULTI_STATUS : true
72
71
73
- VALIDATE_BASH : true
74
- VALIDATE_DOCKERFILE_HADOLINT : true
75
- VALIDATE_ENV : true
76
- VALIDATE_GITHUB_ACTIONS : true
77
- VALIDATE_JSON : true
78
- VALIDATE_MARKDOWN : true
79
- # VALIDATE_OPENAPI: true
80
- VALIDATE_PYTHON_PYLINT : true
81
- VALIDATE_XML : true
82
- VALIDATE_YAML : true
72
+ VALIDATE_BASH : true
73
+ VALIDATE_DOCKERFILE_HADOLINT : true
74
+ VALIDATE_ENV : true
75
+ VALIDATE_GITHUB_ACTIONS : true
76
+ VALIDATE_JSON : true
77
+ VALIDATE_MARKDOWN : true
78
+ # VALIDATE_OPENAPI: true
79
+ VALIDATE_PYTHON_PYLINT : true
80
+ VALIDATE_XML : true
81
+ VALIDATE_YAML : true
0 commit comments