Skip to content

Instantly share code, notes, and snippets.

@ybiquitous
Created March 9, 2022 23:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ybiquitous/6e876db6be4a4148716c61b3d2f3b01a to your computer and use it in GitHub Desktop.
Save ybiquitous/6e876db6be4a4148716c61b3d2f3b01a to your computer and use it in GitHub Desktop.
Problem Matcher for Steep
{
"problemMatcher": [
{
"owner": "steep",
"pattern": [
{
"regexp": "^(.+):(\\d+):(\\d+): \\[(.+)\\] (.+)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
]
}
]
}
@ybiquitous
Copy link
Author

ybiquitous commented Mar 10, 2022

Tested on

Steep 0.49.0

Usage

steps:
  # Assume the file on Gist is saved to the `/tmp` directory.
  - run: echo "::add-matcher::/tmp/steep-problem-matcher.json"
  - run: bundle exec steep check
Screenshot image

See also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment