generated from atomicgo/template
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b302f65
commit 4e405af
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,3 +48,6 @@ experimenting | |
|
||
## CI assets | ||
.templates | ||
|
||
## Taskfile | ||
.task |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | ||
# β β | ||
# β IMPORTANT NOTE β | ||
# β β | ||
# β This file is synced with https://github.com/atomicgo/template β | ||
# β β | ||
# β Please apply all changes to the template repository β | ||
# β β | ||
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | ||
|
||
version: "3" | ||
|
||
tasks: | ||
test: | ||
desc: Run all tests | ||
cmds: | ||
- go test ./... | ||
tdd: | ||
desc: Test Driven Development - Watch tests | ||
watch: true | ||
sources: | ||
- "**/*.go" | ||
cmds: | ||
- go test ./... | ||
|
||
lint: | ||
desc: Run all linters | ||
cmds: | ||
- go mod tidy | ||
- wsl --allow-cuddle-declarations --force-err-cuddling --force-case-trailing-whitespace 3 --fix ./... | ||
- golangci-lint run |