Skip to content

Commit 5014651

Browse files
committed
fix(ci): use mise to install swiftlint
1 parent 48a6a56 commit 5014651

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

.github/workflows/lint.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@v6
2727

28-
- name: Install project tools
28+
- name: Install lint tools
2929
uses: jdx/mise-action@v3
3030
with:
3131
install: true
32+
install_args: node python java ktlint swiftlint 'pipx:gdtoolkit'
3233
cache: true
3334

3435
- name: Get pnpm store path
@@ -46,16 +47,5 @@ jobs:
4647
- name: Install pnpm dependencies
4748
run: mise x -- corepack pnpm install --frozen-lockfile
4849

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
50+
- name: Run lint
51+
run: mise x -- corepack pnpm run lint

0 commit comments

Comments
 (0)