From aff64b59df431af0a56b9aae817b66c24b6b0411 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Sun, 19 Oct 2025 07:05:03 -0500 Subject: [PATCH] workflow/lint: set PATH/shell --- .forgejo/workflows/lint.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index f1c1e63..f27a624 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -23,14 +23,20 @@ jobs: - 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' - - run: ansible-lint + - name: ansible-lint + shell: bash + run: | + echo /root/.local/bin >> $FORGEJO_PATH + ansible-lint env: PY_COLORS: '1' ANSIBLE_FORCE_COLOR: '1'