Modernize opencwa weather #14
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: Validate | |
on: | |
push: | |
pull_request: | |
jobs: | |
spellcheck_lint: | |
name: ShellCheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📦 Checkout the repository | |
uses: actions/checkout@v2 | |
- name: ✅ Run PySpelling as a GitHub action | |
continue-on-error: true | |
uses: rojopolis/[email protected] | |
with: | |
config_path: spellcheck.yml | |
python_linting: | |
name: Python linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: 📦 Check out source repository | |
uses: actions/checkout@v2 | |
- name: 📦 Set up Python environment | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.8" | |
- name: ✅ flake8 Lint | |
continue-on-error: true | |
uses: py-actions/flake8@v1 | |
with: | |
ignore: "F401" | |
max-line-length: "120" | |
validate: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v2" | |
- name: HACS validation | |
continue-on-error: true | |
uses: "hacs/action@main" | |
with: | |
category: "integration" |