dotfiles/.gitea/workflows/ci.yml
Jake Howard 454d7f55af
All checks were successful
lint
Remove cache
`hashFiles` doesn't play nice with `act`
2023-04-10 16:44:14 +01:00

22 lines
596 B
YAML

on: [pull_request, push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
# HACK: https://docs.ansible.com/ansible/devel/reference_appendices/config.html#cfg-in-world-writable-dir
- name: Fix permissions
run: chmod 0755 .
- name: Install system dependencies
run: apt-get update && apt-get install -y bash git
- name: Set up
run: ./scripts/setup.sh
- name: Lint
run: ./scripts/lint.sh