move CI to Forgejo (n/playbooks#227) #2

Merged
n merged 1 commit from ci2 into main 2024-09-14 21:32:41 +02:00
Showing only changes of commit cf06632483 - Show all commits

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 }}."