From eaea795b5b7b5462d21cd7bc57870eba8a08040f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AE=E7=94=9F=E8=8B=A5=E6=A2=A6?= <1070753498@qq.com> Date: Wed, 20 Aug 2025 09:31:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?[CI/CD]:=20=E6=9B=B4=E6=96=B0=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81=E9=85=8D=E7=BD=AE=E5=92=8C=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - actions/checkout: 从v4统一升级至v5版本,提升工作流执行效率 - codeql-analysis: 新增对dependabot分支的忽略配置,避免重复扫描 - vcpkg-dependencies: 调整依赖项顺序并更新基线版本至897ba2a,保持依赖管理一致性 --- .github/workflows/build.yml | 2 +- .github/workflows/clean_cache.yml | 2 +- .github/workflows/codeql.yml | 9 +++++++-- .github/workflows/cpp_linter.yml | 2 +- .github/workflows/readme.yml | 2 +- vcpkg.json | 16 ++++++++-------- 6 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 888f13f..5f0e68b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: - "Ninja" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/.github/workflows/clean_cache.yml b/.github/workflows/clean_cache.yml index 921d546..3db95d4 100644 --- a/.github/workflows/clean_cache.yml +++ b/.github/workflows/clean_cache.yml @@ -12,7 +12,7 @@ jobs: contents: read steps: - name: Check out code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Cleanup run: | diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 02e07bf..078c478 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -7,13 +7,18 @@ on: - '.gitignore' - 'LICENSE' - 'README*' + branches-ignore: + - 'dependabot/**' + pull_request: paths-ignore: - '.clang*' - '.gitignore' - 'LICENSE' - 'README*' - + branches-ignore: + - 'dependabot/**' + schedule: - cron: '0 0 1 * *' workflow_dispatch: @@ -24,7 +29,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/.github/workflows/cpp_linter.yml b/.github/workflows/cpp_linter.yml index 5a1b989..49c1de4 100644 --- a/.github/workflows/cpp_linter.yml +++ b/.github/workflows/cpp_linter.yml @@ -18,7 +18,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 1 diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index ebe25e0..739a0d0 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -12,7 +12,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup Node.js uses: actions/setup-node@v4 # ISO Langusge Codes: https://cloud.google.com/translate/docs/languages diff --git a/vcpkg.json b/vcpkg.json index 57a54e8..ad7645b 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -10,12 +10,6 @@ "efsw", "glog", "gtest", - { - "name": "openssl", - "features": [ - "tools" - ] - }, { "name": "curl", "features": [ @@ -25,7 +19,13 @@ "http2", "tool" ] + }, + { + "name": "openssl", + "features": [ + "tools" + ] } ], - "builtin-baseline": "d8ad13c401b30c2836d00b8923c9127f05f591c7" -} + "builtin-baseline": "897ba2ab4c4c776b985ab1f599548fcf3ae598ba" +} \ No newline at end of file From 4b3ea5f1fcee468ded121e76e74c94eb8d755e25 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 10:37:22 +0000 Subject: [PATCH 2/2] Bump actions/setup-node from 4 to 5 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/readme.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/readme.yml b/.github/workflows/readme.yml index 739a0d0..23e39e9 100644 --- a/.github/workflows/readme.yml +++ b/.github/workflows/readme.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v5 - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 # ISO Langusge Codes: https://cloud.google.com/translate/docs/languages - name: Adding README - English uses: dephraiim/translate-readme@main