Skip to content

Commit 241e9ee

Browse files
committed
fix(ci): taplo & js-tests
1 parent d5c7381 commit 241e9ee

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

.github/workflows/db-version.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
workflow_call:
77

88
jobs:
9+
db-check:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- run: echo "Checking DB Version"
13+
914
update-db-version:
1015
runs-on: ubuntu-latest
1116
if: contains(github.event.pull_request.labels.*.name, 'db-migration')

.github/workflows/linters.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,11 @@ jobs:
2929
steps:
3030
- name: Checkout toml files
3131
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
3238
- 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

.github/workflows/pull-request.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
linters:
2323
name: Run linters
2424
needs: update_db_version
25-
if: ${{ always() }}
2625
uses: ./.github/workflows/linters.yml
2726

2827
rust_check:
@@ -38,18 +37,15 @@ jobs:
3837
coverage:
3938
name: Run Coverage
4039
needs: update_db_version
41-
if: ${{ always() }}
4240
secrets: inherit
4341
uses: ./.github/workflows/coverage.yml
4442

4543
build:
4644
name: Build Madara
4745
needs: update_db_version
48-
if: ${{ always() }}
4946
uses: ./.github/workflows/build.yml
5047

5148
js_test:
5249
name: Run JS Tests
5350
needs: build
54-
if: ${{ always() }}
5551
uses: ./.github/workflows/starknet-js-test.yml

taplo/taplo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
include = ["**/*.toml"]
2-
exclude = ["**/bad.toml"]
32

43
[formatting]
54
align_entries = false

0 commit comments

Comments
 (0)