Skip to content

Commit

Permalink
fix: ghwf
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettladley committed Nov 24, 2024
1 parent ca8d6ec commit e1a23cd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ jobs:
run: sudo apt-get install make
- name: make install
run: make install
- name: make ci-scaffold
run : make ci-scaffold
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
with:
Expand Down Expand Up @@ -117,6 +119,8 @@ jobs:
run: sudo apt-get install make
- name: make install
run: make install
- name: make ci-scaffold
run : make ci-scaffold
- name: Run Tests with Coverage
run: go test -v -race -coverprofile=coverage.txt ./...
- name: Print Coverage
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@ gen-templ:
.PHONY: watch-templ
watch-templ:
@templ generate --watch --proxy=http://127.0.0.1:8000

.PHONY: ci-scaffold
ci-scallold:
@mkdir -p cmd/server/deps
@echo "hello world" > cmd/server/public/hello.txt
@mkdir -p cmd/server/public
@echo "hello world" > cmd/server/public/hello.txt
1 change: 0 additions & 1 deletion cmd/server/deps/.gitkeep

This file was deleted.

1 change: 0 additions & 1 deletion cmd/server/public/.gitkeep

This file was deleted.

0 comments on commit e1a23cd

Please sign in to comment.