[CI] Run pacman-key --refresh to reduce the chances of msys key problems #266
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: python checks | |
on: | |
push: | |
paths: | |
- '**.py' | |
- '.github/workflows/python.yml' | |
pull_request: | |
paths: | |
- '**.py' | |
- '.github/workflows/python.yml' | |
jobs: | |
flake8: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: flake8 | |
run: | | |
pip install flake8==4.0.1 | |
flake8 --ignore E402,F405,W504,E741 |