Last active
August 6, 2021 21:27
-
-
Save ybiquitous/580d1cc2c53fa3a4bb393fc346b4dec4 to your computer and use it in GitHub Desktop.
Steep on GitHub Actions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message | |
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell | |
name: Steep | |
on: pull_request | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
- run: gem install steep --no-document | |
- run: | | |
steep check | ruby -pe 'sub(/^(.+):(\d+):(\d+): (.+)$/, %q{::error file=\1,line=\2,col=\3::\4})' | |
shell: bash |
Using Bash because it needs bash -o pipefail
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested with Steep 0.15.0