File tree Expand file tree Collapse file tree 4 files changed +21
-17
lines changed Expand file tree Collapse file tree 4 files changed +21
-17
lines changed Original file line number Diff line number Diff line change 4
4
name : main
5
5
6
6
on :
7
- push :
8
- branches :
9
- - " **"
7
+ pull_request :
8
+ merge_group :
10
9
11
10
jobs :
11
+ typos-check :
12
+ name : Typos Check
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ -
uses :
crate-ci/[email protected]
17
+
12
18
formatting-check :
13
19
name : Formatting Check
14
20
runs-on : ubuntu-latest
15
21
steps :
16
22
- uses : actions/checkout@v4
17
- - uses : jidicula/clang-format-action@v4.9 .0
18
- with : { clang-format-version: "16 " }
23
+ - uses : jidicula/clang-format-action@v4.11 .0
24
+ with : { clang-format-version: "18 " }
19
25
20
26
test-windows :
21
27
runs-on : windows-latest
22
28
steps :
23
- - name : Ecsact SDK
24
- uses :
ecsact-dev/[email protected]
25
- - uses : actions/cache@v3
29
+ - uses : actions/cache@v4
26
30
with :
27
31
path : |
28
32
/Users/runneradmin/AppData/Local/bazelisk
29
33
/Users/runneradmin/.cache/bazel-disk-cache
30
34
key : ${{runner.os}}-bazel-cache
31
35
- uses : actions/checkout@v4
32
- - run : bazelisk --output_user_root=C:/tmp build --config=ci //...
36
+ - run : bazelisk build --config=ci //...
33
37
- if : ${{ hashfiles('test/MODULE.bazel') != '' }}
34
- run : bazelisk --output_user_root=C:/tmp test --config=ci ...
38
+ run : bazelisk test --config=ci ...
35
39
working-directory : test
36
40
37
41
test-linux :
38
42
runs-on : ubuntu-latest
39
43
steps :
40
- - name : Ecsact SDK
41
- uses :
ecsact-dev/[email protected]
42
- - uses : actions/cache@v3
44
+ - uses : actions/cache@v4
43
45
with :
44
46
path : |
45
47
~/.cache/bazelisk
Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ build --enable_runfiles
10
10
build --noincompatible_remove_rule_name_parameter
11
11
query --noincompatible_remove_rule_name_parameter
12
12
13
- # Temporary until https://github.com/grailbio/bazel-toolchain/pull/198 is merged
14
- build:linux --extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux
15
-
16
13
common:ci --announce_rc
17
14
common:ci --verbose_failures
18
15
common:ci --keep_going
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ copts = selects.with_or({
10
10
"-fexperimental-library" ,
11
11
],
12
12
("@rules_cc//cc/compiler:msvc-cl" , "@rules_cc//cc/compiler:clang-cl" ): [
13
- "/std:c++latest " ,
13
+ "/std:c++20 " ,
14
14
"/permissive-" ,
15
15
"/Zc:preprocessor" ,
16
16
],
Original file line number Diff line number Diff line change
1
+ [files ]
2
+ extend-exclude = [" CHANGELOG.md" ]
3
+
4
+ [default ]
5
+ extend-ignore-re = [" (?Rm)^.*(#|//)\\ s*typos:disable-line$" ]
You can’t perform that action at this time.
0 commit comments