File tree 2 files changed +27
-7
lines changed
2 files changed +27
-7
lines changed Original file line number Diff line number Diff line change 33
33
steps :
34
34
- name : Checkout PR branch
35
35
uses : actions/checkout@v4
36
+
36
37
- name : Free Disk Space
37
38
uses : ./.github/actions/free-disk-space
39
+
38
40
- name : Install toolchain
39
41
uses : moonrepo/setup-rust@v1
40
42
with :
@@ -43,15 +45,23 @@ jobs:
43
45
cache-base : main
44
46
env :
45
47
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46
- - name : Setup Biome
47
- uses : biomejs/setup-biome@v2
48
- with :
49
- version : " 1.9.4"
48
+
49
+ - name : Setup Bun
50
+ uses : oven-sh/setup-bun@v2
51
+
52
+ - name : Install JS dependencies
53
+ run : bun install
54
+
55
+ - name : Setup Just
56
+ uses : extractions/setup-just@v3
57
+
58
+ - name : Echo Tool Versions
59
+ run : |
60
+ just format-ci-versions
61
+
50
62
- name : Run format
51
63
run : |
52
- cargo fmt --all --check
53
- taplo format --check
54
- biome format
64
+ just format-ci
55
65
56
66
actionlint :
57
67
name : Lint GitHub Actions
Original file line number Diff line number Diff line change @@ -40,6 +40,16 @@ format:
40
40
taplo format
41
41
bun biome format --write
42
42
43
+ format-ci :
44
+ cargo fmt --all --check
45
+ taplo format --check
46
+ bun biome format
47
+
48
+ format-ci-versions :
49
+ cargo --version
50
+ taplo --version
51
+ echo " Biome $(bun biome --version)"
52
+
43
53
[unix ]
44
54
_ touch file :
45
55
touch {{ file}}
You can’t perform that action at this time.
0 commit comments