Skip to content

Commit 76f4042

Browse files
authored
Format tools experiment 1 (#1431)
format_tools : evolve
1 parent 3b2283c commit 76f4042

File tree

1,123 files changed

+25432
-10850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,123 files changed

+25432
-10850
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name : assistant
2+
3+
on :
4+
push :
5+
branches :
6+
- 'alpha'
7+
- 'beta'
8+
- 'master'
9+
10+
11+
env :
12+
CARGO_TERM_COLOR : always
13+
14+
jobs :
15+
16+
# assistant
17+
18+
test :
19+
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
20+
with :
21+
manifest_path : 'module/move/assistant/Cargo.toml'
22+
module_name : 'assistant'
23+
commit_message : ${{ github.event.head_commit.message }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name : brain_tools
2+
3+
on :
4+
push :
5+
branches :
6+
- 'alpha'
7+
- 'beta'
8+
- 'master'
9+
10+
11+
env :
12+
CARGO_TERM_COLOR : always
13+
14+
jobs :
15+
16+
# brain_tools
17+
18+
test :
19+
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
20+
with :
21+
manifest_path : 'module/blank/brain_tools/Cargo.toml'
22+
module_name : 'brain_tools'
23+
commit_message : ${{ github.event.head_commit.message }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name : clone_dyn_types
2+
3+
on :
4+
push :
5+
branches :
6+
- 'alpha'
7+
- 'beta'
8+
- 'master'
9+
10+
11+
env :
12+
CARGO_TERM_COLOR : always
13+
14+
jobs :
15+
16+
# clone_dyn_types
17+
18+
test :
19+
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
20+
with :
21+
manifest_path : 'module/core/clone_dyn_types/Cargo.toml'
22+
module_name : 'clone_dyn_types'
23+
commit_message : ${{ github.event.head_commit.message }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name : drawboard
2+
3+
on :
4+
push :
5+
branches :
6+
- 'alpha'
7+
- 'beta'
8+
- 'master'
9+
10+
11+
env :
12+
CARGO_TERM_COLOR : always
13+
14+
jobs :
15+
16+
# drawboard
17+
18+
test :
19+
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
20+
with :
21+
manifest_path : 'module/blank/drawboard/Cargo.toml'
22+
module_name : 'drawboard'
23+
commit_message : ${{ github.event.head_commit.message }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name : drawql
2+
3+
on :
4+
push :
5+
branches :
6+
- 'alpha'
7+
- 'beta'
8+
- 'master'
9+
10+
11+
env :
12+
CARGO_TERM_COLOR : always
13+
14+
jobs :
15+
16+
# drawql
17+
18+
test :
19+
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
20+
with :
21+
manifest_path : 'module/blank/drawql/Cargo.toml'
22+
module_name : 'drawql'
23+
commit_message : ${{ github.event.head_commit.message }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name : format_tools
2+
3+
on :
4+
push :
5+
branches :
6+
- 'alpha'
7+
- 'beta'
8+
- 'master'
9+
10+
11+
env :
12+
CARGO_TERM_COLOR : always
13+
14+
jobs :
15+
16+
# format_tools
17+
18+
test :
19+
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
20+
with :
21+
manifest_path : 'module/core/format_tools/Cargo.toml'
22+
module_name : 'format_tools'
23+
commit_message : ${{ github.event.head_commit.message }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name : paths_tools
2+
3+
on :
4+
push :
5+
branches :
6+
- 'alpha'
7+
- 'beta'
8+
- 'master'
9+
10+
11+
env :
12+
CARGO_TERM_COLOR : always
13+
14+
jobs :
15+
16+
# paths_tools
17+
18+
test :
19+
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
20+
with :
21+
manifest_path : 'module/blank/paths_tools/Cargo.toml'
22+
module_name : 'paths_tools'
23+
commit_message : ${{ github.event.head_commit.message }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name : second_brain
2+
3+
on :
4+
push :
5+
branches :
6+
- 'alpha'
7+
- 'beta'
8+
- 'master'
9+
10+
11+
env :
12+
CARGO_TERM_COLOR : always
13+
14+
jobs :
15+
16+
# second_brain
17+
18+
test :
19+
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
20+
with :
21+
manifest_path : 'module/blank/second_brain/Cargo.toml'
22+
module_name : 'second_brain'
23+
commit_message : ${{ github.event.head_commit.message }}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name : step
2+
3+
on :
4+
push :
5+
branches :
6+
- 'alpha'
7+
- 'beta'
8+
- 'master'
9+
10+
11+
env :
12+
CARGO_TERM_COLOR : always
13+
14+
jobs :
15+
16+
# step
17+
18+
test :
19+
uses : Wandalen/wTools/.github/workflows/standard_rust_push.yml@alpha
20+
with :
21+
manifest_path : 'step/Cargo.toml'
22+
module_name : 'step'
23+
commit_message : ${{ github.event.head_commit.message }}

.github/workflows/standard_rust_push.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency :
2323

2424
group : standard_rust_push_${{ inputs.module_name }}_${{ github.ref }}_
2525
${{ contains( inputs.commit_message, '+test' ) || startsWith( inputs.commit_message, 'merge' ) }}
26-
cancel-in-progress : true
26+
cancel-in-progress : ${{ contains( inputs.commit_message, '+test' ) || startsWith( inputs.commit_message, 'merge' ) }}
2727

2828
env :
2929

@@ -57,8 +57,10 @@ jobs :
5757
- name: Set MANIFEST_ROOT_PATH
5858
id: rootpath
5959
run: echo "::set-output name=path::$(dirname ${{ inputs.manifest_path }})"
60+
- name: Build module
61+
run: cd ${{ steps.rootpath.outputs.path }} && cargo build && cd -
6062
- name: Audit the modules
61-
run: cd ${{ steps.rootpath.outputs.path }} && make audit
63+
run: make audit
6264
continue-on-error: true
6365
- name: Generate documentation for the modules
6466
run: make doc open=no manifest_path=${{ inputs.manifest_path }}

0 commit comments

Comments
 (0)