From 6bf15cfe3ceeac47530e1c6ced1e1593a737cb94 Mon Sep 17 00:00:00 2001 From: Tellsanguis Date: Fri, 7 Nov 2025 10:13:09 +0100 Subject: [PATCH] =?UTF-8?q?fix(ci):=20R=C3=A9solution=20probl=C3=A8mes=20d?= =?UTF-8?q?=C3=A9pendances=20dans=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .forgejo/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index a72cb61..e52061c 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - name: Setup OpenTofu run: | if ! command -v tofu &> /dev/null; then - curl -fsSL https://get.opentofu.org/install-opentofu.sh | bash -s -- --install-method standalone + curl -fsSL https://get.opentofu.org/install-opentofu.sh | bash -s -- --install-method standalone --opentofu-version 1.10.7 fi - name: Terraform Format Check @@ -63,7 +63,7 @@ jobs: run: | if ! command -v ansible &> /dev/null; then apt-get update - apt-get install -y ansible + apt-get install -y ansible python3-pip fi - name: Ansible Syntax Check @@ -128,6 +128,8 @@ jobs: - name: Install Trivy run: | if ! command -v trivy &> /dev/null; then + apt-get update + apt-get install -y lsb-release wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | apt-key add - echo "deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/trivy.list apt-get update