Skip to content

Commit

Permalink
chore: check colour definitions in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jtbx committed Aug 5, 2024
1 parent d7d1b9a commit f21a984
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/test.yaml → .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Emacs Tests
name: Test .el files + Check color definitions

on:
push:
Expand Down Expand Up @@ -27,3 +27,23 @@ jobs:

- name: Run tests
run: just test
definitions:
runs-on: ubuntu-latest

steps:
- name: Install Whiskers
run: |
sudo curl -o /usr/local/bin/whiskers https://github.com/catppuccin/whiskers/releases/latest/download/whiskers-x86_64-unknown-linux-gnu
sudo chmod +x /usr/local/bin/whiskers
- name: Install git
run: sudo apt install git

- name: Generate catppuccin-definitions.el
run: whiskers emacs.tera

- name: Format catppuccin-definitions.el
run: emacs --script scripts/format-definitions.el -f format-definitions

- name: Compare with master
run: git diff --exit-code

0 comments on commit f21a984

Please sign in to comment.