File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
.github/actions/tests/setup-python Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,14 @@ runs:
10
10
kubeconfig_base64 : ${{ env.kubeconfig_base64 }}
11
11
K8S_SERVER : ${{ env.K8S_SERVER }}
12
12
K8S_SA_TOKEN : ${{ env.K8S_SA_TOKEN }}
13
- - name : Setup python and dependencies
13
+ - name : Set up Python 3.12
14
+ uses : actions/setup-python@v5
15
+ with :
16
+ python-version : ' 3.12'
17
+ cache : ' pip'
18
+ - name : Setup python dependencies
14
19
run : |
15
20
cd e2e-tests
16
- sudo apt update
17
- sudo apt install -y software-properties-common
18
- sudo add-apt-repository ppa:deadsnakes/ppa
19
- sudo apt update
20
- sudo apt install -y python3.12 python3.12-venv python3.12-dev
21
- sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1
22
21
curl -L --silent https://github.com/getsops/sops/releases/download/v3.7.3/sops_3.7.3_amd64.deb > sops.deb && sudo dpkg -i sops.deb && rm sops.deb
23
22
python -m venv venv
24
23
source venv/bin/activate
You can’t perform that action at this time.
0 commit comments