Skip to content

Add undefined checks and don't depend on having vaalilakana.json havi… #43

Add undefined checks and don't depend on having vaalilakana.json havi…

Add undefined checks and don't depend on having vaalilakana.json havi… #43

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
- dev
push:
branches:
- master
- dev
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ env.pythonLocation }}-pip-${{ hashFiles('**/vaalilakanabot2024.py') }}
restore-keys: |
${{ runner.os }}-${{ env.pythonLocation }}-pip-
- name: Install dependencies
run: pip install -r requirements.txt && pip install pylint
- name: Run pylint
run: pylint vaalilakanabot2024.py