Skip to content

Commit 4720a06

Browse files
seaubotzaucy
andauthored
chore: sync with ecsact_common (#38)
* chore: sync with ecsact_common * chore: formatting * chore: formatting --------- Co-authored-by: seaubot <[email protected]> Co-authored-by: Ezekiel Warren <[email protected]>
1 parent 98ebad3 commit 4720a06

File tree

10 files changed

+37
-28
lines changed

10 files changed

+37
-28
lines changed

.bazelignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
test
1+
test

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.1.1
1+
7.1.2

.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: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44
name: main
55

66
on:
7-
push:
8-
branches:
9-
- "**"
7+
pull_request:
8+
merge_group:
109

1110
jobs:
1211
typos-check:
@@ -21,13 +20,15 @@ jobs:
2120
runs-on: ubuntu-latest
2221
steps:
2322
- uses: actions/checkout@v4
23+
- uses: greut/eclint-action@v0
2424
- uses: jidicula/[email protected]
2525
with: { clang-format-version: "18" }
2626

2727
test-windows:
28+
if: github.event_name == 'merge_group'
2829
runs-on: windows-latest
2930
steps:
30-
- uses: actions/cache@v3
31+
- uses: actions/cache@v4
3132
with:
3233
path: |
3334
/Users/runneradmin/AppData/Local/bazelisk
@@ -40,9 +41,10 @@ jobs:
4041
working-directory: test
4142

4243
test-linux:
44+
if: github.event_name == 'merge_group'
4345
runs-on: ubuntu-latest
4446
steps:
45-
- uses: actions/cache@v3
47+
- uses: actions/cache@v4
4648
with:
4749
path: |
4850
~/.cache/bazelisk

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ All notable changes to this project will be documented in this file. See [conven
8888

8989
- - -
9090

91-
Changelog generated by [cocogitto](https://github.com/cocogitto/cocogitto).
91+
Changelog generated by [cocogitto](https://github.com/cocogitto/cocogitto).

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
<p align="center">
2-
<img src="https://ecsact.dev/external/ecsact_logo/ecsact-color.png" width="300" />
3-
</p>
4-
5-
# Ecsact Codegen
6-
7-
NOTE: This repository is the new location for everything codegen related. Plugins will still live in their respective `ecsact_lang_*` repositories, but the plugin and build system related tools will be moved here.
8-
9-
10-
## Migration progress
11-
12-
- [x] ecsact_runtime bazel files
13-
- [x] ecsact_runtime codegen related headers
14-
- [x] ecsact_runtime plugin test code
15-
- [ ] ecsact_cli codegen API
16-
1+
<p align="center">
2+
<img src="https://ecsact.dev/external/ecsact_logo/ecsact-color.png" width="300" />
3+
</p>
4+
5+
# Ecsact Codegen
6+
7+
NOTE: This repository is the new location for everything codegen related. Plugins will still live in their respective `ecsact_lang_*` repositories, but the plugin and build system related tools will be moved here.
8+
9+
10+
## Migration progress
11+
12+
- [x] ecsact_runtime bazel files
13+
- [x] ecsact_runtime codegen related headers
14+
- [x] ecsact_runtime plugin test code
15+
- [ ] ecsact_cli codegen API
16+

bazel/common.bazelrc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ build --enable_runfiles
1010
build --noincompatible_remove_rule_name_parameter
1111
query --noincompatible_remove_rule_name_parameter
1212

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-
1613
common:ci --announce_rc
1714
common:ci --verbose_failures
1815
common:ci --keep_going

cog.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
pre_bump_hooks = [
22
# Ecsact pre 1.0.0 the 0.X.0 is our 'major' version
33
"buildozer 'set version {{version}}' 'set compatibility_level {{version.minor}}' //MODULE.bazel:%module",
4+
"bazel mod tidy",
45
]
56

67
post_bump_hooks = [

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
"extends": [
44
"github>ecsact-dev/renovate-config"
55
]
6-
}
6+
}

typos.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
[files]
22
extend-exclude = ["CHANGELOG.md"]
3+
4+
[default]
5+
extend-ignore-re = ["(?Rm)^.*(#|//)\\s*typos:disable-line$"]

0 commit comments

Comments
 (0)