File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : autofix.ci
2+ on :
3+ pull_request :
4+ push :
5+ branches : ["main"]
6+ permissions :
7+ contents : read
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
12+
13+ jobs :
14+ autofix :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v7
18+ - name : Set up Bun
19+ uses : oven-sh/setup-bun@v2
20+ with :
21+ bun-version-file : " .bun-version"
22+
23+ - name : Install dependencies
24+ run : bun install
25+
26+ - name : Format code
27+ run : |
28+ bun run format:eslint || true
29+ bun run format:prettier
30+ - uses : autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a
Original file line number Diff line number Diff line change 2424 - name : Set up Bun
2525 uses : oven-sh/setup-bun@v2
2626 with :
27- bun-version : 1.2.2
27+ bun-version-file : " .bun-version "
2828
2929 - name : Install dependencies
3030 run : bun install
Original file line number Diff line number Diff line change 2424 - name : Set up Bun
2525 uses : oven-sh/setup-bun@v2
2626 with :
27- bun-version : 1.2.2
27+ bun-version-file : " .bun-version "
2828
2929 - name : Install dependencies
3030 run : bun install
You can’t perform that action at this time.
0 commit comments