Files
admin-toolsuite/.gitea/workflows/lint.yml
T
dependabot 9262b6e5c7
lint / shell (pull_request) Successful in 23s
lint / python (pull_request) Successful in 1m12s
Update actions/checkout action to v7
2026-10-27 09:40:41 +00:00

31 lines
721 B
YAML

name: lint
on:
push:
branches: [main]
pull_request:
jobs:
shell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: bash -n
run: for f in *.sh; do bash -n "$f"; done
- name: shellcheck
run: |
sudo apt-get update -qq && sudo apt-get install -y -qq shellcheck
shellcheck --severity=warning *.sh
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Syntax-Check
run: python -m py_compile create-deploy-user.py
- name: ruff
run: pip install -q ruff && ruff check create-deploy-user.py