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 yaml lint #18

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions .gherkin-lintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"Feature": 0,
"Background": 2,
"Scenario": 2,
"Examples": 4,
"Step": 4,
"given": 4,
"example": 6,
"and": 4
}
],
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/lint-gherkin.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
name: Gherkin Linting

on:
workflow_dispatch:
pull_request:
branches:
- main
- master
workflow_dispatch:
workflow_call:

jobs:

gherkin-lint:
name: Lint Gherkin Feature files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: bahmutov/npm-install@v1
- run: npm run lint
- name: Check out source code
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4

- name: Run lint
run: npx --yes gherkin-lint
Loading