-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from dmugtasimov/feature/github-actions
GitHub actions
- Loading branch information
Showing
2 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Quality Assurance | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
jobs: | ||
quality-assurance: | ||
name: Quality Assurance | ||
|
||
runs-on: ubuntu-22.04 | ||
container: texlive/texlive:latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Disable Git's dubious ownership check | ||
run: git config --global safe.directory '*' | ||
|
||
# TODO(dmu) LOW: Implement caching | ||
- name: Install dependencies | ||
run: | | ||
apt update | ||
apt install -y make sudo git pre-commit | ||
make install-pandoc-m4 | ||
make setup-pre-commit | ||
- name: Run lint | ||
run: make lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters