File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 2121 using : composite
2222 steps :
2323 - uses : sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0
24+ - uses : astral-sh/setup-uv@f94ec6bedd8674c4426838e6b50417d36b6ab231 # v5.3.1
2425 - run : |
2526 cd $GITHUB_ACTION_PATH \
2627 && ./ct.sh \
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ install_chart_testing() {
9696 CT_SIG=https://github.com/helm/chart-testing/releases/download/v$version /chart-testing_${version# v} _linux_$arch .tar.gz.sig
9797
9898 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 \
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
You can’t perform that action at this time.
0 commit comments