From 4ab600e2a256921b8c7ab5bfd3061a0e8e78e039 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Mon, 25 Mar 2024 09:01:55 -0700 Subject: [PATCH] ci: only run lint and fmt on linux with Deno 1.x (#2386) --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a683573..355d9861 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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