@@ -92,11 +92,11 @@ install_chart_testing() {
9292 mkdir -p " ${cache_dir} "
9393
9494 echo " Installing chart-testing v${version} ..."
95- CT_CERT=https://github.com/helm/chart-testing/releases/download/v$version /chart-testing_${version# v} _linux_$arch .tar.gz.pem
96- CT_SIG=https://github.com/helm/chart-testing/releases/download/v$version /chart-testing_${version# v} _linux_$arch .tar.gz.sig
95+ CT_CERT=https://github.com/helm/chart-testing/releases/download/v${ version} /chart-testing_${version# v} _linux_${ arch} .tar.gz.pem
96+ CT_SIG=https://github.com/helm/chart-testing/releases/download/v${ version} /chart-testing_${version# v} _linux_${ arch} .tar.gz.sig
9797
98- curl --retry 5 --retry-delay 1 -sSLo ct.tar.gz " https://github.com/helm/chart-testing/releases/download/v$version /chart-testing_${version# v} _linux_$arch .tar.gz"
99- cosign verify-blob --certificate $ CT_CERT --signature $ CT_SIG \
98+ curl --retry 5 --retry-delay 1 -sSLo ct.tar.gz " https://github.com/helm/chart-testing/releases/download/v${ version} /chart-testing_${version# v} _linux_${ arch} .tar.gz"
99+ cosign verify-blob --certificate " ${ CT_CERT} " --signature " ${ CT_SIG} " \
100100 --certificate-identity " https://github.com/helm/chart-testing/.github/workflows/release.yaml@refs/heads/main" \
101101 --certificate-oidc-issuer " https://token.actions.githubusercontent.com" ct.tar.gz
102102 retVal=$?
@@ -109,17 +109,15 @@ install_chart_testing() {
109109 rm -f ct.tar.gz
110110
111111 echo ' Creating virtual Python environment...'
112- python3 -m venv " ${venv_dir} "
113-
114- echo ' Activating virtual environment...'
115- # shellcheck disable=SC1090
116- source " ${venv_dir} /bin/activate"
112+ export UV_LINK_MODE=copy
113+ uv venv " ${venv_dir} "
114+ export VIRTUAL_ENV=" ${venv_dir} "
117115
118116 echo ' Installing yamllint...'
119- pip3 install " yamllint==${yamllint_version} "
117+ uv pip install " yamllint==${yamllint_version} "
120118
121119 echo ' Installing Yamale...'
122- pip3 install " yamale==${yamale_version} "
120+ uv pip install " yamale==${yamale_version} "
123121 fi
124122
125123 # https://github.com/helm/chart-testing-action/issues/62
0 commit comments