test: various misc changes #167
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: stylish | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
stylish: | |
name: "black & flake8" | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:latest | |
steps: | |
- name: Base setup | |
run: | | |
dnf --setopt install_weak_deps=False install -y \ | |
git-core \ | |
python3-flake8 \ | |
python3-pip | |
- uses: actions/checkout@v4 | |
- uses: psf/black@stable | |
with: | |
version: "24.3.0" | |
- name: Setup flake8 annotations | |
uses: rbialon/flake8-annotations@v1 | |
- name: Run flake8 | |
run: | | |
flake8 |