Skip to content

Commit

Permalink
Added Dockerfile as workflow trigger.
Browse files Browse the repository at this point in the history
And installed `rustup` on Alpine.
  • Loading branch information
tfpf committed Feb 17, 2024
1 parent a8d757b commit 0d755d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
paths:
- '.github/workflows/tests.yml'
- 'Dockerfile'
- 'src/utils.rs'
- 'res/*_test.txt'
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM --platform=linux/i386 alpine:3.19
RUN apk add cargo
RUN apk add cargo rustup
RUN rustup update
WORKDIR /project-euler
COPY . .

0 comments on commit 0d755d1

Please sign in to comment.