Skip to content

Commit 6224801

Browse files
committed
ci(test/centos): add oxfmt checking step
1 parent b2fd956 commit 6224801

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,11 +1546,14 @@ jobs:
15461546
shellcheck -x -s dash -- rustup-init.sh
15471547
git ls-files -- '*.sh' | xargs shellcheck -x -s dash
15481548
git ls-files -- '*.bash' | xargs shellcheck -x -s bash
1549-
- name: Install taplo
1549+
- name: Install external formatters
15501550
uses: taiki-e/install-action@v2
15511551
with:
1552-
tool: taplo
1552+
tool: taplo,oxfmt
15531553
fallback: none
1554+
- name: Run frontend formatting checks
1555+
run: |
1556+
oxfmt-x86_64-unknown-linux-musl .
15541557
- name: Run TOML formatting checks
15551558
run: |
15561559
taplo fmt

ci/actions-templates/centos-fmt-clippy-template.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,14 @@ jobs: # skip-all
6464
shellcheck -x -s dash -- rustup-init.sh
6565
git ls-files -- '*.sh' | xargs shellcheck -x -s dash
6666
git ls-files -- '*.bash' | xargs shellcheck -x -s bash
67-
- name: Install taplo
67+
- name: Install external formatters
6868
uses: taiki-e/install-action@v2
6969
with:
70-
tool: taplo
70+
tool: taplo,oxfmt
7171
fallback: none
72+
- name: Run frontend formatting checks
73+
run: |
74+
oxfmt-x86_64-unknown-linux-musl .
7275
- name: Run TOML formatting checks
7376
run: |
7477
taplo fmt

0 commit comments

Comments
 (0)