zfs_dkms/.forgejo/workflows/lint.yml
Josh Lay 48c7d34765
Some checks failed
ci-lint / test (push) Failing after 30s
workflow/lint: read $FORGEJO_PATH
2025-10-19 07:09:37 -05:00

43 lines
1.1 KiB
YAML

name: ci-lint
on: # yamllint disable-line rule:truthy
pull_request:
push:
branches:
- master
schedule:
- cron: "20 4 * * 0"
jobs:
test:
runs-on: docker
container:
image: fedora:42 # lock to *latest stable*; rawhide/next is 'latest' tag
steps:
- name: Action Requirements
run: |
echo -e 'max_parallel_downloads=20\ndeltarpm=False\nfastestmirror=False' | tee -a /etc/dnf/dnf.conf
dnf -yq install nodejs git pipx
- uses: actions/checkout@v3 # definitely needs nodejs, probably git
- name: ansible/collections
shell: bash
run: |
echo /root/.local/bin >> $FORGEJO_PATH
pipx install ansible-core ansible-lint
ansible-galaxy collection install -r meta/requirements.yml
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'
- name: ansible-lint
shell: bash
run: |
cat $FORGEJO_PATH
echo /root/.local/bin >> $FORGEJO_PATH
ansible-lint
env:
PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: '1'