fix(ci): Resolve dependency issues in workflow
This commit is contained in:
parent
aa6ac62d92
commit
cb6b1d666b
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue