77 - main
88
99env :
10- UV_SYSTEM_PYTHON : 1
10+ PYTHON_VERSION : " 3.12"
11+ STERN_VERSION : " 1.30.0"
1112
1213jobs :
1314
2223 runs-on : ubuntu-latest
2324 steps :
2425 - uses : actions/checkout@v4
25- - uses : eifinger/setup-uv@v1
26+ - name : Install the latest version of uv
27+ uses : astral-sh/setup-uv@v2
28+ with :
29+ version : " latest"
30+ enable-cache : true
2631 - run : uvx ruff format . --check
2732
2833 build-image :
7883 with :
7984 name : commander
8085 path : /tmp
81- - uses : eifinger/setup-uv@v1
86+ - name : Install the latest version of uv
87+ uses : astral-sh/setup-uv@v2
88+ with :
89+ version : " latest"
90+ enable-cache : true
91+ - name : Install Python
92+ run : uv python install $PYTHON_VERSION
8293 - name : Install project
8394 run : uv sync --all-extras --dev
8495 - name : Install commander image
@@ -95,14 +106,13 @@ jobs:
95106 if : always()
96107 run : |
97108 echo "Installing stern..."
98- STERN_VERSION="1.30.0"
99109 curl -Lo stern.tar.gz https://github.com/stern/stern/releases/download/v${STERN_VERSION}/stern_${STERN_VERSION}_linux_amd64.tar.gz
100110 tar zxvf stern.tar.gz
101111 chmod +x stern
102112 sudo mv stern /usr/local/bin/
103113
104114 # Run script
105- curl -O https://raw.githubusercontent.com/willcl-ark /warnet/main/resources/scripts/k8s-log-collector.sh
115+ curl -O https://raw.githubusercontent.com/bitcoin-dev-project /warnet/main/resources/scripts/k8s-log-collector.sh
106116 chmod +x k8s-log-collector.sh
107117 ./k8s-log-collector.sh default
108118 - name : Upload log artifacts
@@ -120,7 +130,13 @@ jobs:
120130 - graph_test.py
121131 steps :
122132 - uses : actions/checkout@v4
123- - uses : eifinger/setup-uv@v1
133+ - name : Install the latest version of uv
134+ uses : astral-sh/setup-uv@v2
135+ with :
136+ version : " latest"
137+ enable-cache : true
138+ - name : Install Python
139+ run : uv python install $PYTHON_VERSION
124140 - name : Install project
125141 run : uv sync --all-extras --dev
126142 - name : Run tests
0 commit comments