Skip to content

Commit 44edb2c

Browse files
committed
chore: sync with ecsact_common
1 parent f5b8693 commit 44edb2c

File tree

3 files changed

+63
-57
lines changed

3 files changed

+63
-57
lines changed

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+

.github/workflows/main.yml

Lines changed: 57 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,57 @@
1-
# This file is maintained by ecsact-dev/ecsact_common
2-
# If changes are required please make them there
3-
4-
name: main
5-
6-
on:
7-
pull_request:
8-
merge_group:
9-
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-
18-
formatting-check:
19-
name: Formatting Check
20-
runs-on: ubuntu-latest
21-
steps:
22-
- uses: actions/checkout@v4
23-
- uses: jidicula/[email protected]
24-
with: { clang-format-version: "18" }
25-
26-
test-windows:
27-
if: github.event_name == 'merge_group'
28-
runs-on: windows-latest
29-
steps:
30-
- uses: actions/cache@v4
31-
with:
32-
path: |
33-
/Users/runneradmin/AppData/Local/bazelisk
34-
/Users/runneradmin/.cache/bazel-disk-cache
35-
key: ${{runner.os}}-bazel-cache
36-
- uses: actions/checkout@v4
37-
- run: bazelisk build --config=ci //...
38-
- if: ${{ hashfiles('test/MODULE.bazel') != '' }}
39-
run: bazelisk test --config=ci ...
40-
working-directory: test
41-
42-
test-linux:
43-
if: github.event_name == 'merge_group'
44-
runs-on: ubuntu-latest
45-
steps:
46-
- uses: actions/cache@v4
47-
with:
48-
path: |
49-
~/.cache/bazelisk
50-
~/.cache/bazel-disk-cache
51-
key: ${{runner.os}}-bazel-cache
52-
- uses: actions/checkout@v4
53-
- run: bazelisk build --config=ci //...
54-
- if: ${{ hashfiles('test/MODULE.bazel') != '' }}
55-
run: bazelisk test --config=ci ...
56-
working-directory: test
1+
# This file is maintained by ecsact-dev/ecsact_common
2+
# If changes are required please make them there
3+
4+
name: main
5+
6+
on:
7+
pull_request:
8+
merge_group:
9+
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+
18+
formatting-check:
19+
name: Formatting Check
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: greut/eclint-action@v0
24+
- uses: jidicula/[email protected]
25+
with: { clang-format-version: "18" }
26+
27+
test-windows:
28+
if: github.event_name == 'merge_group'
29+
runs-on: windows-latest
30+
steps:
31+
- uses: actions/cache@v4
32+
with:
33+
path: |
34+
/Users/runneradmin/AppData/Local/bazelisk
35+
/Users/runneradmin/.cache/bazel-disk-cache
36+
key: ${{runner.os}}-bazel-cache
37+
- uses: actions/checkout@v4
38+
- run: bazelisk build --config=ci //...
39+
- if: ${{ hashfiles('test/MODULE.bazel') != '' }}
40+
run: bazelisk test --config=ci ...
41+
working-directory: test
42+
43+
test-linux:
44+
if: github.event_name == 'merge_group'
45+
runs-on: ubuntu-latest
46+
steps:
47+
- uses: actions/cache@v4
48+
with:
49+
path: |
50+
~/.cache/bazelisk
51+
~/.cache/bazel-disk-cache
52+
key: ${{runner.os}}-bazel-cache
53+
- uses: actions/checkout@v4
54+
- run: bazelisk build --config=ci //...
55+
- if: ${{ hashfiles('test/MODULE.bazel') != '' }}
56+
run: bazelisk test --config=ci ...
57+
working-directory: test

bazel/common.bazelrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
startup --windows_enable_symlinks
22
common --enable_bzlmod
33
common --registry=https://raw.githubusercontent.com/ecsact-dev/bazel_registry/main
4-
common --registry=https://raw.githubusercontent.com/zaucy/bazel-central-registry/add-curl-config2 # temporary
54
common --registry=https://raw.githubusercontent.com/bazelboost/registry/main
65
common --registry=https://bcr.bazel.build
76
build --enable_platform_specific_config

0 commit comments

Comments
 (0)