File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,9 @@ ARG VERSION=v0.15.0
3
3
4
4
ENV VIRTUAL_ENV=/opt/venv
5
5
RUN python -m venv $VIRTUAL_ENV
6
- RUN . $VIRTUAL_ENV/bin/activate
7
- RUN . /opt/venv/bin/activate \
8
- && pip install --no-cache-dir --upgrade pip setuptools \
9
- && pip install --no-cache-dir fawltydeps==$VERSION
6
+ RUN $VIRTUAL_ENV/bin/pip install --no-cache-dir --upgrade pip setuptools \
7
+ && $VIRTUAL_ENV/bin/pip install --no-cache-dir fawltydeps==$VERSION
10
8
11
9
ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
12
10
13
- CMD ["/opt/venv /bin/fawltydeps" ]
11
+ CMD ["${VIRTUAL_ENV} /bin/fawltydeps" ]
Original file line number Diff line number Diff line change @@ -42,14 +42,15 @@ This action will run `fawltydeps` in the project directory for a Python codebase
42
42
43
43
## Example usage
44
44
45
- You need to use a ` checkout ` action before
45
+ You need to use a ` checkout ` action before the FawltyDeps action.
46
+
46
47
Simple usage:
47
48
48
49
steps:
49
50
- uses: actions/checkout@v4
50
51
51
52
52
- More advanced example with extra command line options:
53
+ More advanced example with customized command line options:
53
54
54
55
steps:
55
56
- name: checkout
You can’t perform that action at this time.
0 commit comments