diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index ee1a8e0..3e9ad4b 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -20,23 +20,22 @@ jobs: 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 + - uses: actions/checkout@v4 # v5 needs nodejs 24+, f42 ships 22 + - uses: actions/setup-python@v6 + with: + python-version: '3.14' + cache: 'pip' - name: ansible/collections - shell: bash run: | - echo /root/.local/bin >> $FORGEJO_PATH - pipx install ansible-core ansible-lint + pip 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'