fix(actions): install yamllint through pip to fix alpine package issues
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 38s
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 38s
This commit is contained in:
@@ -18,9 +18,12 @@ jobs:
|
|||||||
container: alpine/helm:4.1.3
|
container: alpine/helm:4.1.3
|
||||||
steps:
|
steps:
|
||||||
- name: install tools
|
- name: install tools
|
||||||
run: |
|
run: | # Hacky way of installing yamllint due to previous action failures, likely not needed after dependency fix is made on Alpine's side
|
||||||
apk update
|
apk update
|
||||||
apk add --update bash make nodejs npm ncurses
|
apk add --update bash make nodejs npm ncurses python3 py3-pip
|
||||||
|
python3 -m venv /opt/venv
|
||||||
|
/opt/venv/bin/pip install yamllint
|
||||||
|
ln -s /opt/venv/bin/yamllint /usr/local/bin/yamllint
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
- name: install chart dependencies
|
- name: install chart dependencies
|
||||||
run: helm dependency build
|
run: helm dependency build
|
||||||
|
|||||||
Reference in New Issue
Block a user