move CI to Forgejo (n/playbooks#227)
All checks were successful
lint / lint (push) Successful in 37s

This commit is contained in:
n 2024-09-14 21:31:12 +02:00
parent 95e703d1ac
commit cf06632483
Signed by: n
GPG key ID: 510227DD6C502CE3

View file

@ -1,3 +1,4 @@
---
name: lint name: lint
run-name: lint is launched by ${{ github.actor }} run-name: lint is launched by ${{ github.actor }}
on: [push] on: [push]
@ -7,7 +8,7 @@ jobs:
name: lint name: lint
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - 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 "🐧 This job is now running on a ${{ runner.os }} server hosted by Forgejo!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -18,6 +19,5 @@ jobs:
source bin/activate source bin/activate
XDG_CACHE_HOME=.cache pip install pylint-venv pylint XDG_CACHE_HOME=.cache pip install pylint-venv pylint
- name: Lint - name: Lint
run: XDG_CACHE_HOME=.cache ./bin/pylint -d E0401 *.py run: XDG_CACHE_HOME=.cache ./bin/pylint -d E0401 *.py
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."