Skip to content

chore(deps): bump actions/checkout from 3.4.0 to 4.1.0 #374

chore(deps): bump actions/checkout from 3.4.0 to 4.1.0

chore(deps): bump actions/checkout from 3.4.0 to 4.1.0 #374

Workflow file for this run

name: lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
code-lint:
runs-on: "ubuntu-20.04"
steps:
- name: Check out code
uses: actions/[email protected]
- name: Install luacheck
run: |
sudo apt install -y luarocks
sudo luarocks install luacheck > build.log 2>&1 || (cat build.log && exit 1)
- name: Setup Nodejs env
uses: actions/[email protected]
with:
node-version: '12'
- name: Install eclint
run: |
sudo npm install -g eclint
- name: Script
run: |
make lint
misc-lint:
runs-on: "ubuntu-20.04"
steps:
- name: Check out code
uses: actions/[email protected]
- name: Spell check
run: |
pip install codespell==2.1.0
git grep --cached -l '' | xargs codespell --ignore-words=.github/workflows/ignore_words
- name: Merge conflict
run: |
grep "^<<<<<<< HEAD" $(git grep --cached -l '' | xargs) && exit 1 || true