Merge branch 'main' of github.com:kc-workspace/asdf-plugin-template #120
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: Main | |
on: | |
push: | |
defaults: | |
run: | |
shell: bash | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
env: | |
DEFAULT_BRANCH: main | |
jobs: | |
spellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
- name: Running cspell | |
uses: streetsidesoftware/cspell-action@v4 | |
with: | |
config: ".github/linters/cspell.json" | |
# Log progress and other information during the action execution. | |
verbose: true | |
# Determines if the action should be failed | |
# if any spelling issues are found. | |
strict: true | |
# Limit the files checked to the ones in the pull request or push. | |
# We will enabled this only if this job tooks more than 3 minutes | |
incremental_files_only: false | |
# Notification level to use with inline reporting of spelling errors. | |
# Allowed values are: warning, error, none | |
inline: warning | |
linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Linting | |
# https://github.com/super-linter/super-linter#slim-image | |
uses: super-linter/super-linter/slim@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DEFAULT_BRANCH: ${{ env.DEFAULT_BRANCH }} | |
VALIDATE_ALL_CODEBASE: false | |
IGNORE_GITIGNORED_FILES: true | |
IGNORE_GENERATED_FILES: true | |
FILTER_REGEX_EXCLUDE: ".*.jinja" |