Skip to content

Commit 5011265

Browse files
committed
fix(cxx): fix CI
1 parent 3339116 commit 5011265

3 files changed

Lines changed: 31 additions & 1 deletion

File tree

.github/workflows/simple_checks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ on:
77
branches: [ "main" ]
88

99
jobs:
10-
build:
10+
lineos:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: prepare rls
1515
run: rustup component add rust-analyzer
16+
- name: prepare clangd
17+
run: sudo apt install -y clangd-18
1618
- name: check linenos
1719
run: ./script/check_all_linenos.sh
1820

src/lang/cxx/lib.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2025 CloudWeGo Authors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
package cxx
216

317
import (

src/lang/cxx/spec.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
// Copyright 2025 CloudWeGo Authors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
115
package cxx
216

317
import (

0 commit comments

Comments
 (0)