feature: Use custom header #183
Workflow file for this run
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 Code Base | |
# | |
# Documentation: | |
# https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
# | |
on: | |
# Run on pull_request activity | |
pull_request: | |
types: [opened, synchronize, reopened] | |
# Run when manually triggered | |
workflow_dispatch: | |
jobs: | |
build: | |
# Name the Job | |
name: Lint Code Base | |
# Set the agent to run on | |
runs-on: ubuntu-20.04 | |
steps: | |
# Checkout the code base | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
# Run yamllint to lint YAML | |
- name: Lint YAML files | |
run: | | |
yamllint --no-warnings \ | |
./ | |
# Run shellcheck to lint shell scripts | |
- name: Lint shell scripts | |
run: shellcheck ./scripts/*.sh |