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 : Lint
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+
9+ permissions :
10+ contents : read
11+
12+ concurrency :
13+ group : ${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : true
15+
16+ jobs :
17+ lint :
18+ name : Linters
19+ runs-on : ubuntu-latest
20+ env :
21+ MISE_EXEC_AUTO_INSTALL : " false"
22+ MISE_NOT_FOUND_AUTO_INSTALL : " false"
23+
24+ steps :
25+ - name : Checkout
26+ uses : actions/checkout@v6
27+
28+ - name : Install project tools
29+ uses : jdx/mise-action@v3
30+ with :
31+ install : true
32+ cache : true
33+
34+ - name : Get pnpm store path
35+ id : pnpm-store
36+ run : echo "path=$(mise x -- corepack pnpm store path --silent)" >> "$GITHUB_OUTPUT"
37+
38+ - name : Cache pnpm store
39+ uses : actions/cache@v5
40+ with :
41+ path : ${{ steps.pnpm-store.outputs.path }}
42+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('pnpm-lock.yaml') }}
43+ restore-keys : |
44+ ${{ runner.os }}-pnpm-store-
45+
46+ - name : Install pnpm dependencies
47+ run : mise x -- corepack pnpm install --frozen-lockfile
48+
49+ - name : Run Biome
50+ run : mise x -- corepack pnpm run lint:biome
51+
52+ - name : Run GDScript lint
53+ run : mise x -- corepack pnpm run lint:gdscript
54+
55+ - name : Run Kotlin lint
56+ run : mise x -- corepack pnpm run lint:kotlin
57+
58+ - name : Run SwiftLint
59+ uses : docker://ghcr.io/realm/swiftlint:0.62.2
60+ with :
61+ args : lint --strict --no-cache --config .swiftlint.yml
You can’t perform that action at this time.
0 commit comments