Skip to content

Commit 6b9e834

Browse files
Merge pull request #3 from tweag/jherland/minor-cleanup
Minor/optional cleanup
2 parents 2c222bc + 4c83b23 commit 6b9e834

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ ARG VERSION=v0.15.0
33

44
ENV VIRTUAL_ENV=/opt/venv
55
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
108

119
ENV PATH="${VIRTUAL_ENV}/bin:$PATH"
1210

13-
CMD ["/opt/venv/bin/fawltydeps"]
11+
CMD ["${VIRTUAL_ENV}/bin/fawltydeps"]

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,15 @@ This action will run `fawltydeps` in the project directory for a Python codebase
4242

4343
## Example usage
4444

45-
You need to use a `checkout` action before
45+
You need to use a `checkout` action before the FawltyDeps action.
46+
4647
Simple usage:
4748

4849
steps:
4950
- uses: actions/checkout@v4
5051
- uses: tweag/[email protected]
5152

52-
More advanced example with extra command line options:
53+
More advanced example with customized command line options:
5354

5455
steps:
5556
- name: checkout

0 commit comments

Comments
 (0)