Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(CI): Update lint workflow so that the Markdown and YAML linters run #1254

Merged
merged 3 commits into from
Jan 12, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install yamllint
- name: 🧹 YAML Lint
uses: ibiqlik/action-yamllint@v3
run: |
yamllint .
2 changes: 1 addition & 1 deletion api/test/docker/apisix_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ etcd:
- "http://172.16.238.10:2379"
- "http://172.16.238.11:2379"
- "http://172.16.238.12:2379"
resync_delay: 0.1 # sync data from etcd quickly for e2e test
resync_delay: 0.1 # sync data from etcd quickly for e2e test

apisix:
id: "apisix-server1"
Expand Down
2 changes: 1 addition & 1 deletion api/test/docker/apisix_config2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ etcd:
- "http://172.16.238.10:2379"
- "http://172.16.238.11:2379"
- "http://172.16.238.12:2379"
resync_delay: 0.1 # sync data from etcd quickly for e2e test
resync_delay: 0.1 # sync data from etcd quickly for e2e test

apisix:
id: "apisix-server2"
Expand Down