Skip to content

Commit 2056891

Browse files
Update test-deployer.yml
1 parent 06e5731 commit 2056891

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

.github/workflows/test-deployer.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ jobs:
99
test-deployer:
1010
runs-on: self-hosted
1111
container:
12-
#image: ubuntu:latest
13-
#options: --privileged
1412
image: ghcr.io/catthehacker/ubuntu:act-latest
1513
env:
1614
ANSIBLE_HOST_KEY_CHECKING: "False"
@@ -23,19 +21,24 @@ jobs:
2321
fail-fast: false
2422

2523
steps:
26-
- name: Install miscellaneous dependencies
27-
run: apt update && apt install -y jq
28-
29-
- name: Install Python
30-
run: |
31-
apt install -y python3
32-
wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py && rm get-pip.py
33-
ln -s /usr/bin/python3 /usr/bin/python || true
34-
ln -s /usr/bin/pip3 /usr/bin/pip || true
35-
3624
- name: Checkout repository
3725
uses: actions/checkout@v4
3826

27+
- name: Install jq
28+
run: apt update && apt install -y jq
29+
30+
#- name: Install Python
31+
# run: |
32+
# apt install -y python3
33+
# wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py && rm get-pip.py
34+
# ln -s /usr/bin/python3 /usr/bin/python || true
35+
# ln -s /usr/bin/pip3 /usr/bin/pip || true
36+
37+
- name: Setup Python
38+
uses: actions/[email protected]
39+
with:
40+
python-version: 3.12
41+
3942
- name: Install OpenTofu
4043
uses: opentofu/setup-opentofu@v1
4144
with:

0 commit comments

Comments
 (0)