ci(whiskers-check): use reusable workflow (#23)
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
name: whiskers
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run:
|
||||||
|
uses: catppuccin/actions/.github/workflows/whiskers-check.yml@v1
|
||||||
|
with:
|
||||||
|
args: jellyfin.tera
|
||||||
|
secrets: inherit
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
name: Whiskers Check
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths: ['jellyfin.tera', 'themes', '.github/workflows/whiskers.yml']
|
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
check:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- uses: catppuccin/setup-whiskers@v1.0.0
|
|
||||||
with:
|
|
||||||
whiskers-version: '2.5.1'
|
|
||||||
- run: whiskers jellyfin.tera --check
|
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
whiskers:
|
whiskers:
|
||||||
version: 2.5.1
|
version: ^2.5.1
|
||||||
matrix:
|
matrix:
|
||||||
- flavor
|
- flavor
|
||||||
filename: 'themes/catppuccin-{{flavor.identifier}}.css'
|
filename: 'themes/catppuccin-{{flavor.identifier}}.css'
|
||||||
|
|||||||
Reference in New Issue
Block a user