Files
voting-example/.gitea/workflows/pre-submit.lint.yaml
marco c02f58bfcc
Some checks failed
Pre submits Lint / yamllint (push) Failing after 5s
Update .gitea/workflows/pre-submit.lint.yaml
2024-04-02 12:19:20 +00:00

30 lines
610 B
YAML

name: Pre submits Lint
on:
push:
branches: [main, "*"]
# Run daily as a dry-run/test.
schedule:
- cron: "0 1 * * *"
permissions:
# Needed to check out the repo.
contents: read
jobs:
yamllint:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- env:
YAMLLINT_VERSION: "1.26.3"
run: |
set -euo pipefail
# Install yamllint
pip install "yamllint==${YAMLLINT_VERSION}"
# Run yamllint
make yamllint