From ff29027991b32bd7dc70c94ca5a934cd7ebe98fc Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Sun, 19 Oct 2025 06:53:06 -0500 Subject: [PATCH] workflow/lint: stage/order, early nodejs --- .forgejo/workflows/lint.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index 271b0ae..f1c1e63 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -15,21 +15,22 @@ jobs: image: fedora:42 # lock to *latest stable*; rawhide/next is 'latest' tag steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Install packages and ansible + - 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 + run: | pipx install ansible-core ansible-lint ansible-galaxy collection install -r meta/requirements.yml env: PY_COLORS: '1' ANSIBLE_FORCE_COLOR: '1' - - name: Lint - run: ansible-lint + - run: ansible-lint env: PY_COLORS: '1' ANSIBLE_FORCE_COLOR: '1'