mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
800b534a35
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4) Signed-off-by: dependabot[bot] <support@github.com>
33 lines
837 B
YAML
33 lines
837 B
YAML
name: Lint
|
|
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
misspell:
|
|
name: Check Spelling
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check Out
|
|
uses: actions/checkout@v2.3.4
|
|
- name: Install
|
|
run: |
|
|
wget -O - -q https://git.io/misspell | sh -s -- -b .
|
|
- name: Misspell
|
|
run: |
|
|
git ls-files --empty-directory | xargs ./misspell -error
|
|
merge-conflict:
|
|
name: Merge Conflict
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2.3.4
|
|
- name: Check merge conflict
|
|
run: |
|
|
grep "^<<<<<<< HEAD" $(git ls-files | xargs) && exit 1 || true
|
|
trailing-whitespace:
|
|
name: Trailing whitespace
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2.3.4
|
|
- name: Check for trailing whitespace
|
|
run: "! git grep -EIn $'[ \t]+$'"
|