mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-11 00:13:35 +02:00
- wasn't getting picked up when updating action due to being formatted as `#v6.0.0` instead of `# v6.0.0`
36 lines
805 B
YAML
36 lines
805 B
YAML
name: Check templates
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on: [ push, pull_request ]
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
docker-templates:
|
|
name: Validate docker templates
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 30
|
|
|
|
steps:
|
|
# Checkout the repo
|
|
- name: "Checkout"
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.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
|