Compare commits

..

17 commits

Author SHA1 Message Date
de969f461b Adding docker image
Some checks failed
Haskell CI / build (pull_request) Has been cancelled
Haskell CI / test (pull_request) Has been cancelled
Haskell CI / fourmolu (pull_request) Has been cancelled
Haskell CI / hlint (pull_request) Has been cancelled
2025-09-27 09:56:44 +02:00
7756aa7867 Added missing cabal-update steps 2025-09-27 09:56:44 +02:00
114c8cdb96 Remove hlint hard-coded version 2025-09-27 09:56:44 +02:00
e21f9712d5 Improved makefile, formatting 2025-09-27 09:56:44 +02:00
797eb1cb32 Try more steps 2025-09-27 09:56:44 +02:00
dafcd0f6ab Split jobs 2025-09-27 09:56:44 +02:00
5d82d6ad0a Update .forgejo/workflows/test.yaml 2025-09-27 09:56:11 +02:00
5ea8d9b57a try again 2025-09-27 09:56:11 +02:00
46f7ef70e2 Fixed ci.yml 2025-09-27 09:56:11 +02:00
f464d65052 Updated ci 2025-09-27 09:56:11 +02:00
63760034cf update ci action 2025-09-27 09:56:11 +02:00
f05c93a5a7 Run on docker 2025-09-27 09:56:11 +02:00
7a7bc4d882 Renamed file 2025-09-27 09:56:11 +02:00
3ff0b61851 New rules 2025-09-27 09:56:11 +02:00
c427f8c320 Updated ci.yml 2025-09-27 09:56:11 +02:00
986af3583c Runner base config 2025-09-27 09:56:11 +02:00
d8ba47a8b6 Applied more formatting; added Makefile (#4)
Reviewed-on: #4
Co-authored-by: Igor Ranieri <igor@elland.me>
Co-committed-by: Igor Ranieri <igor@elland.me>
2025-09-27 07:51:09 +00:00

30
Dockerfile Normal file
View file

@ -0,0 +1,30 @@
FROM haskell:9.10
# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
curl \
&& rm -rf /var/lib/apt/lists/*
# Install Node.js (for GitHub Actions compatibility)
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*
# Update cabal and install Haskell tools
RUN cabal update && \
cabal install --install-method=copy --installdir=/usr/local/bin \
fourmolu \
hlint \
cabal-gild
# Verify installations
RUN ghc --version && \
cabal --version && \
node --version && \
fourmolu --version && \
hlint --version && \
cabal-gild --version
# Set working directory
WORKDIR /workspace