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
|
name: Tofu format
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch: { }
|
||||||
push:
|
push:
|
||||||
branches: [ '**', '!renovate/**' ]
|
branches: [ '**', '!renovate/**' ]
|
||||||
paths:
|
paths:
|
||||||
@@ -21,6 +22,7 @@ jobs:
|
|||||||
tofu-format:
|
tofu-format:
|
||||||
name: run tofu format
|
name: run tofu format
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: ghcr.io/vehagn/homelab-devcontainer
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
@@ -29,6 +31,4 @@ jobs:
|
|||||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
|
||||||
- name: Tofu format
|
- name: Tofu format
|
||||||
uses: docker://ghcr.io/vehagn/homelab-devcontainer
|
run: tofu fmt -recursive -diff -check
|
||||||
with:
|
|
||||||
args: tofu fmt -recursive -diff -check
|
|
||||||
|
|||||||
Reference in New Issue
Block a user