Skip to content

Commit

Permalink
style linter on PRs, add line in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fpvandoorn committed Apr 11, 2024
1 parent 87d1aca commit 6a7d93e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/push_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ on:
pull_request:

jobs:
style_lint:
name: Lint style
runs-on: ubuntu-latest
steps:
- name: Check for long lines
if: always()
run: |
! (find BonnAnalysis -name "*.lean" -type f -exec grep -E -H -n '^.{101,}$' {} \; | grep -v -E 'https?://')
build_project:
runs-on: ubuntu-latest
name: Build project
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,6 @@ If you feel adventurous and want to build the web version of the blueprint local
- Just after you push [this page](https://github.com/fpvandoorn/BonnAnalysis) will have a message on the top prompting you to open a pull request.

* If it builds, I'll merge it.
- Feel free to make a pull request with partial work and a lot of sorry's, as long as it builds.

Reminder: Some additional details can be found in the instructions of the LeanCourse repository: https://github.com/fpvandoorn/LeanCourse23/blob/master/LeanCourse/Project/README.md

0 comments on commit 6a7d93e

Please sign in to comment.