mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-11-29 10:17:38 +08:00
Fix lint (#2181)
This commit is contained in:
parent
5225bb3295
commit
bf1fc03bff
2
.github/workflows/cpp.yml
vendored
2
.github/workflows/cpp.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
CLANG_FORMAT: clang-format-17
|
||||
|
||||
cpplint:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
7
.github/workflows/docker-publish.yml
vendored
7
.github/workflows/docker-publish.yml
vendored
@ -1,9 +1,8 @@
|
||||
name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master # 触发条件,可以根据需要调整分支
|
||||
release:
|
||||
types: [created] # 当新版本被创建时触发
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -11,7 +10,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v1
|
||||
|
@ -10,8 +10,9 @@ filter=-runtime/references
|
||||
# CHECK macros are from Drogon, not Google Test.
|
||||
filter=-readability/check
|
||||
|
||||
# Don't warn about the use of C++11 features.
|
||||
# Don't warn about the use of C++11 or C++17 features.
|
||||
filter=-build/c++11
|
||||
filter=-build/c++17
|
||||
|
||||
filter=-build/include_subdir
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user