feat: add devcontainer and github workflow#2
Conversation
Nasus20202
commented
Nov 29, 2025
- Add devcontainer configuration to build the project locally
- Add Github Workflow for PR validation on building the LaTeX document on push to default branch
There was a problem hiding this comment.
Cześć! Pozwól, że przejdziemy na polski, będzie prościej ;)
Dzięki za PRa, pomysł mi się bardzo podoba! Zanim to zmergujemy to jest kilka rzeczy do ogarnięcia.
Oprócz tych zmian, myślę, że warto opisać jeszcze w readme, że takie coś wspieramy i jak to uruchomić (najlepiej zalinkować do plugina Dev Containers, bo on jest niezbędny, żeby to się w VS Code odpaliło).
Dodałem też w międzyczasie pre-commita do tego repo, żeby pilnować formatowania, newlinów itp, więc jak zrobisz jakieś zmiany, to pewnie będzie się na czymś wywalało. Najlepiej go lokalnie zainstalować i odpalać. Jak nie kojarzysz, to naprawdę bardzo polecam: https://pre-commit.com/
There was a problem hiding this comment.
Pull request overview
This PR adds development infrastructure to the LaTeX thesis template repository by introducing a VS Code devcontainer setup and a GitHub Actions workflow for automated PDF builds. The changes enable contributors to work in a consistent development environment and provide automated validation of LaTeX compilation.
Key Changes:
- Added devcontainer configuration with full TeXLive distribution and pre-commit support
- Implemented GitHub Actions workflow for building LaTeX PDFs on PRs and creating releases on pushes to main/master
- Updated README with documentation for both new features
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
.devcontainer/Dockerfile |
Defines container image based on latexdevcontainer with Python and pre-commit tools |
.devcontainer/docker-compose.yaml |
Configures container services with volume mounts for workspace, SSH keys, Docker socket, and shell history |
.devcontainer/devcontainer.json |
Specifies VS Code extensions, settings, and post-create commands for LaTeX development |
.github/workflows/build-latex.yaml |
Implements CI/CD pipeline for building LaTeX PDFs, uploading artifacts for PRs, and creating releases for main branch pushes |
README.md |
Documents the new devcontainer and automated build features |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This way, the first run of pre-commit will be fast.
tpwo
left a comment
There was a problem hiding this comment.
Miałem to u siebie lokalnie otwarte, to zrobiłem od razu kilka drobnych poprawek, które mi się rzuciły w oczy
