Skip to content

Use gcc-12 instead of gcc-9 on Linux #686

Use gcc-12 instead of gcc-9 on Linux

Use gcc-12 instead of gcc-9 on Linux #686

Workflow file for this run

name: Python Linter
on:
push:
paths:
- "**.py"
- "**.cfg"
- "**.tac"
jobs:
lint:
name: flake8
# TODO: should be ubuntu-latest, but actions/setup-python doesn't work with ubuntu 22 just yet
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4.3.0
with:
python-version: 3.8
- name: Set up flake8 annotations
uses: rbialon/flake8-annotations@v1
- name: Run flake8
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8
flake8 .