Skip to content

Commit

Permalink
Fix GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
turt2live committed Aug 20, 2023
1 parent 044e077 commit df8084b
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...'
Expand All @@ -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 comments on commit df8084b

Please sign in to comment.