mirror of
https://github.com/moul/sshportal.git
synced 2024-11-13 03:34:52 +08:00
chore: repo maintenance 🤖
more details: https://github.com/moul/repoman Signed-off-by: moul-bot <bot@moul.io>
This commit is contained in:
parent
74bd885c1d
commit
7068565ab1
2 changed files with 26 additions and 2 deletions
20
.github/dependabot.yml
vendored
Normal file
20
.github/dependabot.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: docker
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: daily
|
||||||
|
time: "04:00"
|
||||||
|
open-pull-requests-limit: 10
|
||||||
|
- package-ecosystem: github-actions
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: daily
|
||||||
|
time: "04:00"
|
||||||
|
open-pull-requests-limit: 10
|
||||||
|
- package-ecosystem: gomod
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: daily
|
||||||
|
time: "04:00"
|
||||||
|
open-pull-requests-limit: 10
|
8
rules.mk
vendored
8
rules.mk
vendored
|
@ -197,7 +197,7 @@ go.bumpdeps:
|
||||||
go.fmt:
|
go.fmt:
|
||||||
@set -e; for dir in $(GOMOD_DIRS); do ( set -xe; \
|
@set -e; for dir in $(GOMOD_DIRS); do ( set -xe; \
|
||||||
cd $$dir; \
|
cd $$dir; \
|
||||||
$(GO) run golang.org/x/tools/cmd/goimports -w `go list -f '{{.Dir}}' ./...)` \
|
$(GO) run golang.org/x/tools/cmd/goimports -w `go list -f '{{.Dir}}' ./...` \
|
||||||
); done
|
); done
|
||||||
|
|
||||||
VERIFY_STEPS += go.depaware-check
|
VERIFY_STEPS += go.depaware-check
|
||||||
|
@ -207,7 +207,11 @@ TIDY_STEPS += go.tidy
|
||||||
LINT_STEPS += go.lint
|
LINT_STEPS += go.lint
|
||||||
UNITTEST_STEPS += go.unittest
|
UNITTEST_STEPS += go.unittest
|
||||||
FMT_STEPS += go.fmt
|
FMT_STEPS += go.fmt
|
||||||
GENERATE_STEPS += go.depaware-update
|
|
||||||
|
# FIXME: disabled, because currently slow
|
||||||
|
# new rule that is manually run sometimes, i.e. `make pre-release` or `make maintenance`.
|
||||||
|
# alternative: run it each time the go.mod is changed
|
||||||
|
#GENERATE_STEPS += go.depaware-update
|
||||||
endif
|
endif
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue