Skip to content

Commit c7a09f1

Browse files
authored
Upgrade GHA workflows to latest actions and Node 16 (#484)
* Upgrade lint-patterns.yml * Upgrade markdownlint.yml * Upgrade generate-mindmap.yml * Ignore one more URL to prevent failing link check
1 parent bdc01b0 commit c7a09f1

File tree

5 files changed

+3134
-18
lines changed

5 files changed

+3134
-18
lines changed

.github/workflows/generate-mindmap.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
generate-mindmap:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222
- name: Use Node.js
23-
uses: actions/setup-node@v2
23+
uses: actions/setup-node@v3
2424
with:
25-
node-version: 12.x
25+
node-version: 16
2626
cache: 'npm'
2727
cache-dependency-path: pattern-categorization/package-lock.json
2828
- name: Install Node.js dependencies

.github/workflows/lint-patterns.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
validate:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v3
2121
- name: Problem Matcher for markdownlint-cli
22-
uses: xt0rted/markdownlint-problem-matcher@v1
22+
uses: xt0rted/markdownlint-problem-matcher@v2
2323
- name: Lint pattern files (markdown)
2424
uses: avto-dev/markdown-lint@v1
2525
with:

.github/workflows/markdownlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Use Node.js
2525
uses: actions/setup-node@v3
2626
with:
27-
node-version: 14.x
27+
node-version: 16
2828
- name: Run Markdownlint
2929
run: |
3030
echo "::add-matcher::.github/workflows/markdownlint-problem-matcher.json"

.lycheeignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ http://creativecommons.org/licenses
66
https://isc-inviter.herokuapp.com
77
fearlesschangepatterns.com
88
https://ulir.ul.ie/bitstream/handle/10344/4443/Stol_2014_inner.pdf
9-
.*@andrew.clegg.*
9+
.*@andrew.clegg.*
10+
https://m.dotdev.co/how-to-write-a-readme-that-rocks-bc29f279611a

0 commit comments

Comments
 (0)