Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into fixup-minor-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
obscurerichard committed Aug 28, 2024
2 parents afa0ba3 + e2a8c6e commit fbacc3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ ARG VERSION=v0.15.0

ENV VIRTUAL_ENV=/opt/venv
RUN python -m venv $VIRTUAL_ENV
RUN . $VIRTUAL_ENV/bin/activate
RUN . /opt/venv/bin/activate \
&& pip install --no-cache-dir --upgrade pip setuptools \
&& pip install --no-cache-dir fawltydeps==$VERSION
RUN $VIRTUAL_ENV/bin/pip install --no-cache-dir --upgrade pip setuptools \
&& $VIRTUAL_ENV/bin/pip install --no-cache-dir fawltydeps==$VERSION

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

CMD ["/opt/venv/bin/fawltydeps"]
CMD ["${VIRTUAL_ENV}/bin/fawltydeps"]
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,21 @@ This action will run `fawltydeps` in the project directory for a Python codebase

## Example usage

You need to use a `checkout` action before
You need to use a `checkout` action before the FawltyDeps action.

Simple usage:

steps:
- uses: actions/checkout@v4
- uses: tweag/[email protected].2
- uses: tweag/[email protected].3

More advanced example with extra command line options:
More advanced example with customized command line options:

steps:
- name: checkout
uses: actions/checkout@v4
- name: fawltydeps lint
uses: tweag/[email protected].2
uses: tweag/[email protected].3
with:
options: --list-sources --list-imports --list-deps --detailed

Expand Down

0 comments on commit fbacc3d

Please sign in to comment.