[Bugfix:Plagiarism] Bump base Docker image to Ubuntu 22.04 (#104) #414
Workflow file for this run
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 Linting | |
on: [push] | |
jobs: | |
python-lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Cache Pip | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-${{ github.job }}-pip-${{ github.sha }} | |
restore-keys: | | |
${{ runner.os }}-${{ github.job }}-pip- | |
- name: Install python libraries | |
run : | | |
python3 -m pip install --upgrade pip | |
python3 -m pip install flake8 flake8-bugbear | |
- name: Run python linting | |
run : python3 -m flake8 |