Skip to content

Commit

Permalink
chore(ci): add lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed May 8, 2021
1 parent 743b6a3 commit 12bdbca
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint

on: [push, pull_request]

jobs:
lint:
name: Lint source
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v2

- name: Setup Deno
uses: denolib/setup-deno@v2
with:
deno-version: v1.x

- name: Check formatting
run: deno fmt --check

- name: Run linter
run: deno lint --unstable

0 comments on commit 12bdbca

Please sign in to comment.