From df8084b962c3ae2e94f8e629e4eee190b052055c Mon Sep 17 00:00:00 2001
From: Travis Ralston <travpc@gmail.com>
Date: Sat, 19 Aug 2023 20:21:43 -0600
Subject: [PATCH] Fix GHA

---
 .github/workflows/main.yml | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index b84692cf..25ff48d8 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -19,7 +19,11 @@ jobs:
       - uses: actions/setup-go@v4
         with:
           go-version: '1.20'
-      - name: "Install staticcheck"
+      - name: "Prepare: compile assets"
+        run: "GOBIN=$PWD/bin go install -v ./cmd/compile_assets"
+      - name: "Run: compile assets"
+        run: "$PWD/bin/compile_assets"
+      - name: "Prepare: staticcheck"
         run: 'go install honnef.co/go/tools/cmd/staticcheck@latest'
       - run: 'go vet ./...'
       - run: 'staticcheck ./...'
@@ -31,7 +35,10 @@ jobs:
       - uses: actions/setup-go@v4
         with:
           go-version: '1.20'
-      - run: "GOBIN=$PWD/bin go install -v ./cmd/compile_assets"
-      - run: "$PWD/bin/compile_assets"
-      - run: "go test -c -v ./test && ./test.test '-test.v'" # cheat and work around working directory issues
+      - name: "Prepare: compile assets"
+        run: "GOBIN=$PWD/bin go install -v ./cmd/compile_assets"
+      - name: "Run: compile assets"
+        run: "$PWD/bin/compile_assets"
+      - name: "Run: tests"
+        run: "go test -c -v ./test && ./test.test '-test.v'" # cheat and work around working directory issues
         timeout-minutes: 30
-- 
GitLab