|
|
|
@ -1,3 +1,4 @@
|
|
|
|
|
---
|
|
|
|
|
name: Gitwatch QA
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
@ -9,7 +10,7 @@ on:
|
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
super-lint:
|
|
|
|
|
name: Lint Code Base
|
|
|
|
|
|
|
|
|
@ -25,18 +26,23 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
|
|
|
|
|
- name: Run Super-Linter
|
|
|
|
|
uses: github/super-linter@v3
|
|
|
|
|
env:
|
|
|
|
|
DEFAULT_BRANCH: master
|
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
# Linter is having errors at symbolic link, appears to be
|
|
|
|
|
# this bug:
|
|
|
|
|
# https://github.com/github/super-linter/issues/1400
|
|
|
|
|
# https://github.com/kucherenko/jscpd/issues/481
|
|
|
|
|
FILTER_REGEX_EXCLUDE: \.github/linters/\.markdown-lint.yml
|
|
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
|
|
# For the time being, I'm giving up on Super Linter. It's a great tool,
|
|
|
|
|
# but it's currently broken, and it's taking more time to make it work than
|
|
|
|
|
# it's worth.
|
|
|
|
|
# - name: Lint Code Base
|
|
|
|
|
# uses: github/super-linter@v4
|
|
|
|
|
# env:
|
|
|
|
|
# DEFAULT_BRANCH: master
|
|
|
|
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
# # Linter is having errors at symbolic link, appears to be
|
|
|
|
|
# # this bug:
|
|
|
|
|
# # https://github.com/github/super-linter/issues/1400
|
|
|
|
|
# # https://github.com/kucherenko/jscpd/issues/481
|
|
|
|
|
# # Test files are bats files, which don't follow bash standards
|
|
|
|
|
# # FILTER_REGEX_EXCLUDE: \.github/linters/\.markdown-lint.yml | tests\.*
|
|
|
|
|
# # FILTER_REGEX_EXCLUDE: tests\.*
|
|
|
|
|
|
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
bats:
|
|
|
|
|
name: BATS Tests
|
|
|
|
|
|
|
|
|
|