Skip to content

Commit

Permalink
ci: reuse linter workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb authored Apr 13, 2024
1 parent e3a2603 commit cd7f13f
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,8 @@ on:
branches: [ main ]

jobs:
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: docker run -v $PWD:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest --ignore=minutes --disable=MD013 "**/*.md"

# - uses: avto-dev/[email protected]
# with:
# args: './*.md'

docker-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hadolint/[email protected]
with:
recursive: true
ignore: DL3041

shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: azohra/[email protected]
call:
uses: opiproject/actions/.github/workflows/linters.yml@main
with:
with_golang: false
secrets: inherit

0 comments on commit cd7f13f

Please sign in to comment.