File tree Expand file tree Collapse file tree 2 files changed +25
-6
lines changed Expand file tree Collapse file tree 2 files changed +25
-6
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,25 @@ on: # yamllint disable-line rule:truthy
34
34
35
35
jobs :
36
36
analyze :
37
- name : Analyze
37
+ name : Analyze (${{ matrix.language }})
38
+ # Runner size impacts CodeQL analysis time. To learn more, please see:
39
+ # - https://gh.io/recommended-hardware-resources-for-running-codeql
40
+ # - https://gh.io/supported-runners-and-hardware-resources
41
+ # - https://gh.io/using-larger-runners (GitHub.com only)
42
+ # Consider using larger runners or machines with greater resources
43
+ # for possible analysis time improvements.
38
44
runs-on :
39
45
${{ (matrix.language == 'swift' && 'macos-14') || 'ubuntu-24.04' }}
40
46
permissions :
47
+ # required for all workflows
48
+ security-events : write
49
+
50
+ # required to fetch internal or private CodeQL packs
51
+ packages : read
52
+
53
+ # only required for workflows in private repositories
41
54
actions : read
42
55
contents : read
43
- security-events : write
44
56
45
57
strategy :
46
58
fail-fast : false
Original file line number Diff line number Diff line change 1
1
---
2
-
3
2
name : Markdown Lint
4
3
5
4
on : # yamllint disable-line rule:truthy
@@ -10,19 +9,27 @@ on: # yamllint disable-line rule:truthy
10
9
branches : ["main"]
11
10
workflow_dispatch :
12
11
12
+ permissions : read-all
13
+
13
14
jobs :
14
- lint :
15
+ markdownlint :
15
16
name : Markdown Lint
16
17
runs-on : ubuntu-24.04
17
18
19
+ strategy :
20
+ matrix :
21
+ node-version : [22.x]
22
+ # See supported Node.js release schedule
23
+ # at https://nodejs.org/en/about/releases/
24
+
18
25
steps :
19
26
- name : Checkout repository
20
27
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
21
28
22
- - name : Set up Node.js
29
+ - name : Set up Node.js ${{ matrix.node-version }}
23
30
uses : actions/setup-node@v4
24
31
with :
25
- node-version : 22.x
32
+ node-version : ${{ matrix.node-version }}
26
33
27
34
- name : Install dependencies
28
35
run : npm install -g markdownlint-cli
You can’t perform that action at this time.
0 commit comments