Skip to content

updater.mod.land

updater.mod.land #285

Workflow file for this run

name: Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Setup latest deno version
uses: denolib/setup-deno@v2
with:
deno-version: v1.x
- name: Check deno fmt
run: deno fmt --check mod
- name: Check root files
run: |
deno fmt --check cnames.ts
deno fmt --check restricted.ts
- name: Check deno lint
run: deno lint --unstable mod
- name: Lint root files
run: |
deno fmt --check cnames.ts
deno fmt --check restricted.ts
check:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Setup latest deno version
uses: denolib/setup-deno@v2
with:
deno-version: v1.x
- name: Run integrity check
run: deno test --filter "integrity" mod --allow-read
- name: Run checks
run: deno test --filter "checks" mod --allow-read