Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install -y --no-install-recommends lacheck
- name: Lint
run: make check
- name: Build
run: make
run: make build
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
.DEFAULT_GOAL := all

.PHONY: all
all: build
all: check build

.PHONY: clean
clean:
rm -f *.log *.dvi *.synctex.gz *.pdf

.PHONY: check
check: *.tex
check:
lacheck *.tex

.PHONY: build
build: *.pdf

Expand Down
Loading