Fix actions
Some checks failed
Test / test (pull_request) Failing after 56s
Lint / lint (pull_request) Failing after 47s

- Fix branch names
- Update PRs to run on any branch
This commit is contained in:
2025-02-22 22:31:39 -05:00
parent 597c73f45e
commit 57e93eaa81
3 changed files with 5 additions and 5 deletions

30
.gitea/workflows/lint.yml Normal file
View File

@@ -0,0 +1,30 @@
name: Lint
on:
push:
branches:
- master
pull_request:
branches:
- "*"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Run Lint
run: |
flake8 --max-line-length=88 --ignore=E203,E302,E501 .