-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add workflow configuration, new tasks, and updated dependencies
- Added a new file `.github/dependabot.yml` with some configuration settings for package ecosystems and schedules - Added a new file `.github/workflows/test.yml` with a workflow configuration for testing - Modified the file `Taskfile.yml` by adding new tasks and modifying existing ones - Modified the file `cmd/server/main.go` by changing the version number and contact details - Modified the file `go.mod` by updating the versions of various dependencies - Modified the file `internal/server/core/web/index.go` by injecting new modules and configuring the server - Modified the file `internal/server/modules/v1/repo/statistic.go` by injecting new modules and configuring the repository - Modified the file `pkg/lib/log/print.go` by adding new logging functions Signed-off-by: ysicing <[email protected]>
- Loading branch information
Showing
10 changed files
with
311 additions
and
641 deletions.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: gomod | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 1 | ||
rebase-strategy: disabled | ||
ignore: | ||
- dependency-name: "k8s.io/*" | ||
- dependency-name: "github.com/docker/docker" | ||
labels: | ||
- bot/dependency | ||
|
||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 1 | ||
rebase-strategy: disabled | ||
labels: | ||
- bot/dependency |
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,48 @@ | ||
name: check | ||
|
||
env: | ||
# Common versions | ||
GO_VERSION: '1.22' | ||
TZ: Asia/Shanghai | ||
|
||
|
||
permissions: write-all | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
paths: | ||
- '**.go' | ||
- 'go.mod' | ||
- '.github/workflows/*.yml' | ||
pull_request: | ||
branches: | ||
- "*" | ||
paths: | ||
- '**.go' | ||
|
||
jobs: | ||
build: | ||
name: "build" | ||
timeout-minutes: 20 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
check-latest: true | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '18' | ||
- name: install task | ||
run: | | ||
echo "install task" | ||
go install github.com/go-task/task/v3/cmd/task@latest | ||
- name: Run task | ||
run: | | ||
echo "Run task" | ||
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ var ( | |
) | ||
|
||
// @title ZTF服务端API文档 | ||
// @version 1.0 | ||
// @version 3.x | ||
// @contact.name API Support | ||
// @contact.url https://github.com/easysoft/zentaoatf/issues | ||
// @contact.email [email protected] | ||
|
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
Oops, something went wrong.