Skip to content

Merge pull request #9 from monooso/6-radius-bug #17

Merge pull request #9 from monooso/6-radius-bug

Merge pull request #9 from monooso/6-radius-bug #17

Workflow file for this run

name: Deno
on:
pull_request:
branches: [main]
push:
branches: [main]
env:
DENO_CACHE_DIR: /.deno_cache
jobs:
build:
runs-on: ubuntu-latest
steps:
# Set up Deno
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
# Cache dependencies
- name: Cache dependencies
uses: actions/cache@v3
with:
path: ${{ env.DENO_CACHE_DIR }}
key: ${{ hashFiles('deno.lock') }}
# Run checks
- name: Check formatting
run: deno fmt --check
- name: Check linting
run: deno lint
- name: Run tests
run: deno test --allow-net --parallel