Skip to content

Commit

Permalink
separate check and lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sehnryr committed Oct 17, 2024
1 parent ae4f919 commit 40d6fb1
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ on:
permissions:
contents: read

env:
DENO_VERSION: e61e2e4b5cc10bd3e1d92472e035edd794ab0311

jobs:
test:
check:
runs-on: ubuntu-latest

steps:
Expand All @@ -22,10 +25,22 @@ jobs:
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: e61e2e4b5cc10bd3e1d92472e035edd794ab0311
deno-version: ${{ env.DENO_VERSION }}

- name: Run checks
run: deno task check

lint:
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@v4

- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: ${{ env.DENO_VERSION }}

- name: Run linter
run: deno task lint

0 comments on commit 40d6fb1

Please sign in to comment.