Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
- name: Check
run: make check

- name: Test
run: make test

- name: Build
run: make build

Expand All @@ -51,5 +54,8 @@ jobs:
- name: Check
run: .\build.bat check

- name: Test
run: .\build.bat test

- name: Build
run: .\build.bat build
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ build: ./main.go
go build -o $(EXEC_NAME) ./main.go

test:
go test ./...
go test ./... -count=1

clean: $(EXEC_NAME)
rm $(EXEC_NAME)
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ echo[

:test
echo Testing...
go test ./...
go test ./... -count=1
if ERRORLEVEL 1 exit /b %ERRORLEVEL% :: fail if error occurred
echo Testing complete!
if %skip%==1 exit
Expand Down
Loading