emqx/.github/workflows/code_style_check.yaml

18 lines
361 B
YAML

name: Code style check
on: [pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1000
- name: Run elvis check
run: |
./scripts/elvis-check.sh $GITHUB_BASE_REF
- name: Check line-break at EOF
run: |
./scripts/check-nl-at-eof.sh