Skip to content

Bump MediaWiki docker image #307

Bump MediaWiki docker image

Bump MediaWiki docker image #307

Workflow file for this run

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