diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..821ff9b --- /dev/null +++ b/.github/workflows/lint.yml @@ -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