diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 00000000..536a335d --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,26 @@ +on: + pull_request: + push: + branches: + - main + +name: Editorconfig Linter + +jobs: + + tests: + name: "Run tests on ${{ matrix.os }}" + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ 'ubuntu-latest' ] + steps: + - uses: actions/checkout@v3 + - name: Lint Code Base + uses: github/super-linter@v4 + env: + VALIDATE_ALL_CODEBASE: false + DEFAULT_BRANCH: main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + EDITORCONFIG_FILE_NAME: .editorconfig +