Merge pull request #3 from dmugtasimov/feature/github-actions #15
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
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 |