Prevent heading process if document is empty (#5) #19
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: CI | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
lint: | |
name: Lint Shell scripts | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
python: [3.9] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Lint the Shell scripts | |
run: shellcheck ./uvicorn.sh |