fix(ci): Résolution problèmes dépendances dans workflow

This commit is contained in:
Tellsanguis 2025-11-07 10:13:09 +01:00
parent bdfcaf5f46
commit 6bf15cfe3c

View file

@ -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