add Gitea CI
Some checks failed
lint / lint (push) Failing after 26s

This commit is contained in:
n 2024-02-13 21:44:08 +01:00
parent 622f79fe3b
commit dfafee53b6
Signed by: n
GPG key ID: 510227DD6C502CE3

24
.gitea/workflows/lint.yml Normal file
View file

@ -0,0 +1,24 @@
name: lint
run-name: lint is launched by ${{ github.actor }}
on: [push]
jobs:
check:
runs-on: ubuntu-latest
name: lint
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- name: Create Python virtualenv
run: |
python -m venv .
source bin/activate
pip install pylint
- name: Lint
run: pylint -d E0401 *.py
- name: PHP CS Fixer
run: vendor/bin/php-cs-fixer fix --dry-run --verbose --diff .
- run: echo "🍏 This job's status is ${{ job.status }}."