Update base.yml #5
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
--- | |
# SPDX-FileCopyrightText: (c) 2021 ale5000 | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
# SPDX-FileType: SOURCE | |
name: "Code linting" | |
permissions: {} | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
shellchecker: | |
name: "ShellChecker" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check out code" | |
uses: actions/checkout@v4 | |
- name: "ShellChecker" | |
uses: a5k-actions/shellchecker@v0 | |
json-yaml-validate: | |
name: "JSON and YAML" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Check out code" | |
uses: actions/checkout@v4 | |
- name: "JSON and YAML - Validator" | |
uses: GrantBirki/json-yaml-validate@v3 | |
with: | |
json_exclude_regex: "^\\.vscode/tasks\\.json$" |