Skip to content
Snippets Groups Projects
Commit df8084b9 authored by Travis Ralston's avatar Travis Ralston
Browse files

Fix GHA

parent 044e0775
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment