Skip to content

Commit a370d3c

Browse files
Merge pull request #5 from DimitriPapadopoulos/node20
chore: run on node 20
2 parents 58c7b12 + f29266d commit a370d3c

File tree

3 files changed

+33
-3
lines changed

3 files changed

+33
-3
lines changed

.pre-commit-config.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
repos:
3+
- repo: https://github.com/executablebooks/mdformat
4+
# Do this before other tools "fixing" the line endings
5+
rev: 0.7.17
6+
hooks:
7+
- id: mdformat
8+
name: Format Markdown
9+
entry: mdformat # Executable to run, with fixed options
10+
language: python
11+
types: [markdown]
12+
args: [--wrap, "75", --number]
13+
additional_dependencies:
14+
- mdformat-toc
15+
- mdformat-beautysh
16+
# -mdformat-shfmt
17+
# -mdformat-tables
18+
- mdformat-config
19+
- mdformat-black
20+
- mdformat-web
21+
- mdformat-gfm
22+
- repo: https://github.com/adrienverge/yamllint.git
23+
rev: v1.33.0
24+
hooks:
25+
- id: yamllint
26+
args:
27+
- --no-warnings
28+
- -d
29+
- "{extends: relaxed, rules: {line-length: {max: 90}}}"

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
This problem matcher lets you show errors from GNU `sort` as annotation in
44
GitHub Actions.
55

6-
Based on [korelstar](https://github.com/korelstar)'s [xmllint-problem-matcher](https://github.com/korelstar/xmllint-problem-matcher).
6+
Based on [korelstar](https://github.com/korelstar)'s
7+
[xmllint-problem-matcher](https://github.com/korelstar/xmllint-problem-matcher).
78

89
## Inputs
910

@@ -18,5 +19,5 @@ No outputs are generated apart from a configured problem matcher.
1819
Add the step to your workflow, before `sort -c` is called.
1920

2021
```yaml
21-
- uses: codespell-project/sort-problem-matcher@v1
22+
- uses: codespell-project/sort-problem-matcher@v1
2223
```

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'sort problem matcher'
22
author: 'Peter Newman'
33
description: 'Shows GNU sort errors as annotation (with file and code line) in GitHub Actions'
44
runs:
5-
using: 'node16'
5+
using: 'node20'
66
main: 'index.js'
77
branding:
88
icon: 'search'

0 commit comments

Comments
 (0)