mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-19 03:26:57 +00:00
Add editorconfig, fix files and lint via ci
This commit is contained in:
parent
91b54bef29
commit
8e67d28c4f
9 changed files with 41 additions and 12 deletions
1
Justfile
1
Justfile
|
@ -18,6 +18,7 @@ build-tag VERSION:
|
|||
lint: tool-golangci tool-gofumpt
|
||||
[ $(gofumpt -extra -l . | wc -l) != 0 ] && { echo 'code not formated'; exit 1; }; \
|
||||
golangci-lint run --timeout 5m --build-tags integration
|
||||
# TODO: run editorconfig-checker
|
||||
|
||||
fmt: tool-gofumpt
|
||||
gofumpt -w --extra .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue