added build workflow and el9 support #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Lint | |
on: [pull_request] | |
jobs: | |
super-lint: | |
name: Lint with Super-Linter | |
runs-on: ubuntu-latest | |
steps: | |
# Checks out a copy of your repository on the ubuntu-latest machine | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
# Make sure the actual branch is checked out when running on PR | |
ref: ${{ github.event.pull_request.head.sha }} | |
# Full git history needed to get proper list of changed files | |
fetch-depth: 0 | |
# Runs the Super-Linter action | |
- name: Run Super-Linter on new changes | |
uses: docker://ghcr.io/github/super-linter:slim-v4 | |
env: | |
DEFAULT_BRANCH: master | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MARKDOWN_CONFIG_FILE: .markdownlint.json | |
# XXX gitleaks is currently not using exception file: #511 | |
# Always check all the content | |
VALIDATE_ALL_CODEBASE: true | |
# Fail on errors | |
DISABLE_ERRORS: false |