Skip to content

Commit

Permalink
ci(GitHub): Add Super-Linter job
Browse files Browse the repository at this point in the history
  • Loading branch information
oboukli committed Mar 11, 2023
1 parent 14ccdd8 commit b964acb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,9 @@ on:
pull_request:
branches:
- main
paths:
- "**.md"
push:
branches:
- main
paths:
- "**.md"
workflow_dispatch:

permissions:
Expand All @@ -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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b964acb

Please sign in to comment.