mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
feat(ci): run tofu format inside devimage
Signed-off-by: Vegard Hagen <[email protected]>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
name: Tofu format
|
||||
|
||||
on:
|
||||
workflow_dispatch: { }
|
||||
push:
|
||||
branches: [ '**', '!renovate/**' ]
|
||||
paths:
|
||||
@@ -21,6 +22,7 @@ jobs:
|
||||
tofu-format:
|
||||
name: run tofu format
|
||||
runs-on: ubuntu-latest
|
||||
container: ghcr.io/vehagn/homelab-devcontainer
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -29,6 +31,4 @@ jobs:
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: Tofu format
|
||||
uses: docker://ghcr.io/vehagn/homelab-devcontainer
|
||||
with:
|
||||
args: tofu fmt -recursive -diff -check
|
||||
run: tofu fmt -recursive -diff -check
|
||||
|
||||
Reference in New Issue
Block a user