ci: migrate from GitHub Actions to Gitea Actions
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
name: On changes to .gitea
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- ".gitea/**"
|
||||
|
||||
jobs:
|
||||
lint-workflows:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Validate YAML
|
||||
run: |
|
||||
for f in .gitea/workflows/*.yml; do
|
||||
echo "Validating $f"
|
||||
python3 -c "import yaml; yaml.safe_load(open('$f'))" || exit 1
|
||||
done
|
||||
Reference in New Issue
Block a user