Skip to content

Commit

Permalink
Create lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx authored Nov 7, 2023
1 parent d14575f commit caf2c70
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Linter

on:
push:
branches: ["main"]

workflow_dispatch:

permissions:
contents: read
pages: write
checks: write

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
env:
deno-version: v1.x

steps:
- name: Setup Repository (${{github.event.repository.name}})
uses: actions/checkout@v3

- name: Setup Deno (${{env.deno-version}})
uses: denoland/setup-deno@v1
with:
deno-version: ${{env.deno-version}}

- name: Run Linter
run: deno lint

0 comments on commit caf2c70

Please sign in to comment.