code_style_check.yaml 361 B

1234567891011121314151617
  1. name: Code style check
  2. on: [pull_request]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-20.04
  6. steps:
  7. - uses: actions/checkout@v2
  8. with:
  9. fetch-depth: 1000
  10. - name: Run elvis check
  11. run: |
  12. ./scripts/elvis-check.sh $GITHUB_BASE_REF
  13. - name: Check line-break at EOF
  14. run: |
  15. ./scripts/check-nl-at-eof.sh