mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-04-29 22:24:29 +02:00
Verify templates in CI (#5748)
* Verify templates in CI * No need to install packages * Remove unnecessary fetch depth
This commit is contained in:
parent
bbbd2f6d15
commit
e7c796a660
28
.github/workflows/check-templates.yml
vendored
Normal file
28
.github/workflows/check-templates.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
name: Check templates
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
|
on: [ push, pull_request ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker-templates:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
timeout-minutes: 30
|
||||||
|
|
||||||
|
steps:
|
||||||
|
# Checkout the repo
|
||||||
|
- name: "Checkout"
|
||||||
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
# End Checkout the repo
|
||||||
|
|
||||||
|
- name: Run make to rebuild templates
|
||||||
|
working-directory: docker
|
||||||
|
run: make
|
||||||
|
|
||||||
|
- name: Check for unstaged changes
|
||||||
|
working-directory: docker
|
||||||
|
run: git diff --exit-code
|
||||||
|
continue-on-error: false
|
Loading…
x
Reference in New Issue
Block a user