misc: add Development Container configuration (#78) #53
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: Code / Linting | |
on: # yamllint disable-line rule:truthy | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [master] | |
permissions: | |
contents: read | |
jobs: | |
linting: | |
name: Run SuperLinter | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
packages: read | |
statuses: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
# super-linter needs the full git history to get the | |
# list of files that changed across commits | |
fetch-depth: 0 | |
- name: Lint code base | |
uses: super-linter/super-linter/[email protected] | |
env: | |
LOG_LEVEL: NOTICE | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SUPPRESS_POSSUM: true | |
VALIDATE_ALL_CODEBASE: true | |
VALIDATE_EDITORCONFIG: true | |
VALIDATE_GITHUB_ACTIONS: true | |
VALIDATE_MARKDOWN: true | |
VALIDATE_YAML: true |