Skip to content

Commit

Permalink
Add linter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
albertospelta committed Jan 15, 2023
1 parent 92ffac0 commit eea855a
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Linter

on:
push:
branches-ignore: [ main ]
pull_request:
branches: [ main ]
# workflow_dispatch:

jobs:
build:
name: Super Linter
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Run linter
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Minsk [http://minsk-compiler.net]

[![CI](https://github.com/albertospelta/minsk/actions/workflows/ci.yml/badge.svg)](https://github.com/albertospelta/minsk/actions/workflows/ci.yml) [![CodeQL](https://github.com/albertospelta/minsk/actions/workflows/codeql.yml/badge.svg)](https://github.com/albertospelta/minsk/actions/workflows/codeql.yml)
[![CI](https://github.com/albertospelta/minsk/actions/workflows/ci.yml/badge.svg)](https://github.com/albertospelta/minsk/actions/workflows/ci.yml)
[![CodeQL](https://github.com/albertospelta/minsk/actions/workflows/codeql.yml/badge.svg)](https://github.com/albertospelta/minsk/actions/workflows/codeql.yml)
[![Linter](https://github.com/albertospelta/lab-minsk-compiler/actions/workflows/linter.yml/badge.svg)](https://github.com/albertospelta/lab-minsk-compiler/actions/workflows/linter.yml)

> Building a compiler
Expand Down

0 comments on commit eea855a

Please sign in to comment.