Skip to content

Commit

Permalink
Merge pull request #5 from DimitriPapadopoulos/node20
Browse files Browse the repository at this point in the history
chore: run on node 20
  • Loading branch information
DimitriPapadopoulos authored Feb 11, 2024
2 parents 58c7b12 + f29266d commit a370d3c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
29 changes: 29 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
repos:
- repo: https://github.com/executablebooks/mdformat
# Do this before other tools "fixing" the line endings
rev: 0.7.17
hooks:
- id: mdformat
name: Format Markdown
entry: mdformat # Executable to run, with fixed options
language: python
types: [markdown]
args: [--wrap, "75", --number]
additional_dependencies:
- mdformat-toc
- mdformat-beautysh
# -mdformat-shfmt
# -mdformat-tables
- mdformat-config
- mdformat-black
- mdformat-web
- mdformat-gfm
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.33.0
hooks:
- id: yamllint
args:
- --no-warnings
- -d
- "{extends: relaxed, rules: {line-length: {max: 90}}}"
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
This problem matcher lets you show errors from GNU `sort` as annotation in
GitHub Actions.

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

## Inputs

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

```yaml
- uses: codespell-project/sort-problem-matcher@v1
- uses: codespell-project/sort-problem-matcher@v1
```
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'sort problem matcher'
author: 'Peter Newman'
description: 'Shows GNU sort errors as annotation (with file and code line) in GitHub Actions'
runs:
using: 'node16'
using: 'node20'
main: 'index.js'
branding:
icon: 'search'
Expand Down

0 comments on commit a370d3c

Please sign in to comment.