Skip to content

Proj F5 (#12)

Proj F5 (#12) #19

Workflow file for this run

name: lint
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
schedule:
# Schedule to run at 00:00 UTC on the 1st of every month
- cron: '0 0 1 * *'
jobs:
pylint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install CSC 542
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
- name: Run pylint
run: |
pylint main.py
pylint src
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install CSC 542
run: |
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
- name: Run black
run: |
black --check .