ci: only run lint and fmt on linux with Deno 1.x (#2386)

This commit is contained in:
Luca Casonato
2024-03-25 16:01:55 +00:00
committed by GitHub
parent 5865c8246f
commit 4ab600e2a2
+2
View File
@@ -34,9 +34,11 @@ jobs:
deno-version: ${{ matrix.deno }}
- name: Verify formatting
if: startsWith(matrix.os, 'ubuntu') && matrix.deno == 'v1.x'
run: deno fmt --check
- name: Run linter
if: startsWith(matrix.os, 'ubuntu') && matrix.deno == 'v1.x'
run: deno lint
- name: Spell-check