diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ebba7143..83a12bce 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,13 +4,9 @@ on: pull_request: branches: - main - paths: - - "**.md" push: branches: - main - paths: - - "**.md" workflow_dispatch: permissions: @@ -30,3 +26,20 @@ jobs: - name: Run markdownlint run: markdownlint . + + superlinter: + name: Super-Linter + runs-on: ubuntu-latest + + steps: + - name: Check out code + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Run Super-Linter + uses: github/super-linter/slim@v4 + env: + DEFAULT_BRANCH: main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VALIDATE_ALL_CODEBASE: true diff --git a/README.md b/README.md index 0068d090..5505805d 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=oboukli_tromino-puzzle&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=oboukli_tromino-puzzle) [![CodeFactor](https://www.codefactor.io/repository/github/oboukli/tromino-puzzle/badge)](https://www.codefactor.io/repository/github/oboukli/tromino-puzzle) [![Codacy](https://app.codacy.com/project/badge/Grade/8395b4fbd3b34c72907b0e65fe0b5f35)](https://www.codacy.com/gh/oboukli/tromino-puzzle/dashboard) +[![GitHub Super-Linter](https://github.com/oboukli/tromino-puzzle/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter) This is a C library (see `src/libtromino`) implementing a divide-and-conquer O(n) algorithm, and a collection of apps, to solve the tromino puzzle,