Skip to content

Commit

Permalink
Fix lint (#2181)
Browse files Browse the repository at this point in the history
  • Loading branch information
an-tao authored Oct 9, 2024
1 parent 5225bb3 commit bf1fc03
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
name: Build and Push Docker Image

on:
push:
branches:
- master # 触发条件,可以根据需要调整分支
release:
types: [created] # 当新版本被创建时触发

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v1
Expand Down
3 changes: 2 additions & 1 deletion CPPLINT.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bf1fc03

Please sign in to comment.