File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 6
6
workflow_call :
7
7
8
8
jobs :
9
+ db-check :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - run : echo "Checking DB Version"
13
+
9
14
update-db-version :
10
15
runs-on : ubuntu-latest
11
16
if : contains(github.event.pull_request.labels.*.name, 'db-migration')
Original file line number Diff line number Diff line change 29
29
steps :
30
30
- name : Checkout toml files
31
31
uses : actions/checkout@v4
32
+ - name : Download taplo
33
+ run : |
34
+ curl -L https://github.com/tamasfe/taplo/releases/download/0.9.3/taplo-linux-x86_64.gz -o taplo.gz
35
+ gunzip taplo.gz
36
+ chmod +x taplo-linux-x86_64
37
+ mv taplo /usr/local/bin/taplo
32
38
- name : Run toml check
33
- run : npx @ taplo/cli@0.9.3 fmt --config ./taplo/taplo.toml --check
39
+ run : taplo fmt --config ./taplo/taplo.toml --check
Original file line number Diff line number Diff line change 22
22
linters :
23
23
name : Run linters
24
24
needs : update_db_version
25
- if : ${{ always() }}
26
25
uses : ./.github/workflows/linters.yml
27
26
28
27
rust_check :
@@ -38,18 +37,15 @@ jobs:
38
37
coverage :
39
38
name : Run Coverage
40
39
needs : update_db_version
41
- if : ${{ always() }}
42
40
secrets : inherit
43
41
uses : ./.github/workflows/coverage.yml
44
42
45
43
build :
46
44
name : Build Madara
47
45
needs : update_db_version
48
- if : ${{ always() }}
49
46
uses : ./.github/workflows/build.yml
50
47
51
48
js_test :
52
49
name : Run JS Tests
53
50
needs : build
54
- if : ${{ always() }}
55
51
uses : ./.github/workflows/starknet-js-test.yml
Original file line number Diff line number Diff line change 1
1
include = [" **/*.toml" ]
2
- exclude = [" **/bad.toml" ]
3
2
4
3
[formatting ]
5
4
align_entries = false
You can’t perform that action at this time.
0 commit comments