Skip to content

feat: add devcontainer and github workflow#2

Merged
tpwo merged 4 commits intotpwo:mainfrom
Nasus20202:feature/add-devcontainer-and-github-workflow
Dec 8, 2025
Merged

feat: add devcontainer and github workflow#2
tpwo merged 4 commits intotpwo:mainfrom
Nasus20202:feature/add-devcontainer-and-github-workflow

Conversation

@Nasus20202
Copy link
Copy Markdown
Contributor

  • Add devcontainer configuration to build the project locally
  • Add Github Workflow for PR validation on building the LaTeX document on push to default branch

Copy link
Copy Markdown
Owner

@tpwo tpwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/

Copilot AI review requested due to automatic review settings December 8, 2025 19:10
@Nasus20202 Nasus20202 requested a review from tpwo December 8, 2025 19:15
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Owner

@tpwo tpwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Miałem to u siebie lokalnie otwarte, to zrobiłem od razu kilka drobnych poprawek, które mi się rzuciły w oczy

@tpwo tpwo merged commit e6a9f1b into tpwo:main Dec 8, 2025
2 checks passed
@tpwo
Copy link
Copy Markdown
Owner

tpwo commented Dec 8, 2025

I dziękuję Ci jeszcze raz za tego PRa, nie bawiłem się do tej pory Dev Containers, a widzę, że to jest bardzo fajna opcja i sensowne ustawienie tego nie jest wcale takie trudne ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants