From b4ed99946c6bc0ce56ebebbf7c52a41d06f69ab8 Mon Sep 17 00:00:00 2001 From: Gokhun Celik Date: Sun, 14 Jul 2024 14:09:18 +0200 Subject: [PATCH] Add gherkin linter --- .github/workflows/lint.yml | 11 ++++++++++- .github/workflows/release.yml | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 90f68af..b8b30e8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,4 +1,4 @@ -name: golangci-lint +name: lint on: [pull_request, push] permissions: @@ -19,3 +19,12 @@ jobs: with: args: --timeout=5m version: latest + gherkin-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: restqa/gherkin-linter-action@0.0.1 + with: + path: "features/" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ae389e..b6f4223 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,8 @@ -name: goreleaser +name: release on: push: tags: - - '*' + - "*" permissions: contents: write