git-sync-v4 fix #289
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: Code Quality | |
on: | |
schedule: # weekly | |
- cron: '0 0 * * 0' | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
quality-scanning: | |
name: "${{ matrix.DEPLOYMENT_NAME }} -- Code Quality" | |
runs-on: ubuntu-22.04 | |
strategy: | |
max-parallel: 5 | |
fail-fast: false | |
matrix: | |
DEPLOYMENT_NAME: [ jwebbinar, roman, tike] | |
USE_FROZEN: [ 0 ] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Set Up Environment | |
shell: bash | |
run: | | |
scripts/image-configure ${{ matrix.DEPLOYMENT_NAME }} --use-frozen ${{ matrix.USE_FROZEN }} | |
pip install -r requirements.txt | |
df -h | |
- name: YAML Parsing | |
shell: bash | |
continue-on-error: false | |
run: | | |
source setup-env | |
scripts/sscan-yaml `find deployments .github scripts -name '*.yaml' -o -name '*.yml'` | |
- name: Flake8 Scan | |
shell: bash | |
continue-on-error: false | |
run: | | |
source setup-env | |
scripts/sscan-flake8 | |
- name: Ruff Scan | |
shell: bash | |
continue-on-error: false | |
run: | | |
source setup-env | |
scripts/sscan-ruff |