File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 paths :
1313 - ' bin/**'
1414 - Dockerfile
15+ workflow_dispatch :
1516
1617permissions :
1718 contents : read
Original file line number Diff line number Diff line change 66 - .pylintrc
77 - bin/kube-diagrams
88 - ' **.py'
9+ workflow_dispatch :
910
1011permissions :
1112 contents : read
2425 python-version : ${{ matrix.python-version }}
2526 - name : Install dependencies
2627 run : |
28+ sudo apt install -y graphviz graphviz-dev
2729 python -m pip install --upgrade pip
2830 pip install pylint setuptools PyYAML diagrams graphviz2drawio
2931 - name : Analysing the code with pylint
Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ FROM docker.io/alpine/helm:3 AS helm
22
33FROM docker.io/python:3.13-alpine AS base
44RUN apk update && apk add graphviz bash
5+ RUN apk add --no-cache build-base graphviz-dev
56RUN pip install --upgrade pip && pip install PyYAML diagrams graphviz2drawio
7+ RUN apk del build-base graphviz-dev
68ADD bin /usr/local/bin/
79COPY --from=helm /usr/bin/helm /usr/local/bin/helm
810WORKDIR /work
You can’t perform that action at this time.
0 commit comments