From 5fd3dc0a538d78d527b44e23320eeb5c4cf43b5b Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 16 Mar 2025 23:32:17 +0100 Subject: [PATCH] fix(tooling): fix workflow steps ordering --- .forgejo/workflows/main.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index cd3ed55..9df970d 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -16,12 +16,14 @@ jobs: - name: 'fmt' run: | make tidy no-dirty - - name: 'check' - run: | - make check no-dirty - name: 'build' run: | make build + # we need the build step done before the go checks can run because we need + # the index.html file generated by the hugo build + - name: 'check' + run: | + make check no-dirty - name: 'deploy' run: | umask 077