mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 06:16:58 +00:00
Merge branch 'main' into integration-tests
This commit is contained in:
commit
e9e96ca798
18 changed files with 372 additions and 194 deletions
3
Justfile
3
Justfile
|
@ -15,6 +15,9 @@ 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
|
||||
|
||||
fmt: tool-gofumpt
|
||||
gofumpt -w --extra .
|
||||
|
||||
tool-golangci:
|
||||
@hash golangci-lint> /dev/null 2>&1; if [ $? -ne 0 ]; then \
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue