Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ jobs:
echo "$HOME/bin" >> $GITHUB_PATH

- name: Run caddy validate
run: caddy validate
run: caddy validate --config caddy/Caddyfile

- name: Run caddy fmt
run: caddy fmt --overwrite
run: caddy fmt --overwrite caddy/Caddyfile

- name: Run reviewdog
uses: reviewdog/action-suggester@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:

- name: Install dependencies
run: |
pip install -r dev-requirements.txt
pip install -r webhook/dev-requirements.txt
git config --global user.name "GitHub CI Bot"
git config --global user.email "noone@example.com"

- name: Run tests
run: pytest
run: pytest webhook
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ serve:
mkdir -p sites
$(RUNTIME) run --rm -it \
-v $$PWD/sites:/srv:Z \
-v $$PWD/Caddyfile:/etc/caddy/Caddyfile:ro,Z \
-v $$PWD/caddy/Caddyfile:/etc/caddy/Caddyfile:ro,Z \
-e SITE_DIR=/srv \
-p 2015:2015 \
$(CADDY_IMAGE):$(CADDY_VERSION) \
caddy run --config /etc/caddy/Caddyfile --watch

fmt:
$(RUNTIME) run --rm -it \
-v $$PWD/Caddyfile:/etc/caddy/Caddyfile:Z \
-v $$PWD/caddy/Caddyfile:/etc/caddy/Caddyfile:Z \
$(CADDY_IMAGE):$(CADDY_VERSION) \
caddy fmt --overwrite /etc/caddy/Caddyfile
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.