Skip to content

Commit

Permalink
Run lint target independently using an upstream alpine image.
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsandwich committed Jul 9, 2024
1 parent ff09fcc commit 2ef7dcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ INSTALL:
RUN dpkg -i deb_dist/*.deb

lint:
FROM +build
FROM docker.io/library/python:3.10-alpine
COPY . /src/stdeb
WORKDIR /src/stdeb
RUN python3 -m pip install -r requirements.txt
RUN ruff format --check || true
RUN ruff check || true
Expand Down

0 comments on commit 2ef7dcc

Please sign in to comment.