From a6ef3231522937c074ba73f6721fa888e4cf1768 Mon Sep 17 00:00:00 2001 From: Cheng-Zhang <2694824893@qq.com> Date: Mon, 15 Apr 2024 16:11:15 +0800 Subject: [PATCH] Add go.sum, delete vendor, modify target branch to dev --- .github/workflows/go.yml | 4 ++-- go.sum | 0 vendor/README.md | 7 ------- 3 files changed, 2 insertions(+), 9 deletions(-) create mode 100644 go.sum delete mode 100644 vendor/README.md diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 63af703..7da4a7a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,9 +5,9 @@ name: Go on: push: - branches: [ "main" ] + branches: [ "main", "dev"] pull_request: - branches: [ "main" ] + branches: [ "main", "dev" ] jobs: diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..e69de29 diff --git a/vendor/README.md b/vendor/README.md deleted file mode 100644 index 8eaf64f..0000000 --- a/vendor/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# `/vendor` - -Application dependencies (managed manually or by your favorite dependency management tool or the built-in [`modules`](https://github.com/golang/go/wiki/Modules) feature). - -Don't commit your application dependencies if you are building a library. - -Note that since [`1.13`](https://golang.org/doc/go1.13#modules) Go also enabled the module proxy feature (using `https://proxy.golang.org` as their module proxy server by default). Read more about it [`here`](https://blog.golang.org/module-mirror-launch) to see if it fits all of your requirements and constraints. If it does, then you won't need the 'vendor' directory at all.