on: [ push, pull_request ] name: flake8 linting jobs: flake8: runs-on: ubuntu-latest container: image: archlinux/archlinux:latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 - name: Prepare arch run: | pacman-key --init pacman --noconfirm -Sy archlinux-keyring pacman --noconfirm -Syyu pacman --noconfirm -Sy python-pip python-pyparted pkgconfig gcc - run: pip install --break-system-packages --upgrade pip # this will install the exact version of flake8 that is in the pyproject.toml file - name: Install archinstall dependencies run: pip install --break-system-packages .[dev] - run: python --version - run: flake8 --version - name: Lint with flake8 run: flake8