Deprecate Python 3.8 #2
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: 'Duo Dlint' | |
on: | |
push: | |
pull_request: | |
jobs: | |
security_checks: | |
# runs-on: ubuntu-latest | |
runs-on: ubuntu-22.04 | |
name: Execute the Duo Dlint action | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Run Dlint from Duo | |
run: | | |
cd ./Python | |
pip3 install -e . | |
pip3 freeze > requirements.txt | |
pip3 install dlint | |
python3 -m flake8 --select=DUO ./Python |