cast DATE to character in OGR #43
This file contains hidden or 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: QGIS Plugin QA (Security & Style) | |
| # Trigger the workflow on every push | |
| on: [push] | |
| jobs: | |
| quality-assurance: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.9' | |
| - name: Install dependencies | |
| run: | | |
| # Upgrade pip and install security/linting tools | |
| python -m pip install --upgrade pip | |
| pip install bandit detect-secrets flake8 flake8-json flake8-pyproject | |
| - name: Run Bandit (Security Scan) | |
| # Scan the Mergin folder for vulnerabilities, excluding the test directory | |
| run: bandit -r ./Mergin/ -ll --exclude ./Mergin/test | |
| - name: Run Detect Secrets | |
| # Scan the plugin directory for hardcoded secrets/credentials | |
| run: detect-secrets scan ./Mergin/ --all-files | |
| - name: Run Flake8 (Style Check) | |
| run: flake8 ./Mergin/ |