Bump mediawiki docker image #306
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
jobs: | |
tf-fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Format | |
run: terraform -chdir=terraform fmt -check -diff -recursive | |
hcl-fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.16.3' | |
- name: Install hclfmt | |
run: go install 'github.com/hashicorp/hcl/v2/cmd/hclfmt@latest' | |
- name: Run hclfmt | |
run: | | |
for f in **/*.{nomad,hcl}; do | |
hclfmt \ | |
-check \ | |
-require-no-change \ | |
-w \ | |
"$f" | |
done | |
caddy-fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run caddy fmt | |
run: | | |
cd caddy | |
for CADDYFILE in *; do | |
cp $CADDYFILE Caddyfile.orig | |
docker run -v "$PWD/$CADDYFILE":/srv/Caddyfile caddy \ | |
caddy fmt --overwrite | |
diff Caddyfile.orig $CADDYFILE | |
done |