apisix/.github/workflows/code-lint.yml
dependabot[bot] c9d3cba845
chore(deps): bump actions/checkout from 2 to 2.3.4 (#4225)
Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 19:00:14 +08:00

29 lines
540 B
YAML

name: Code Lint
on:
pull_request:
branches: [master]
paths-ignore:
- 'docs/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Install
run: |
. ./ci/common.sh
export_or_prefix
export OPENRESTY_VERSION=default
./utils/linux-install-openresty.sh
sudo ./utils/linux-install-luarocks.sh
sudo luarocks install luacheck
- name: Script
run: |
. ./ci/common.sh
export_or_prefix
make lint