Skip to content

Remove the Zed editor config. #72

Remove the Zed editor config.

Remove the Zed editor config. #72

Workflow file for this run

name: CI
on: [push, workflow_dispatch]
env:
DENO_VERSION: "^2.1.6"
jobs:
format-check:
name: Format check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: ${{ env.DENO_VERSION }}
- run: deno fmt --check
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: ${{ env.DENO_VERSION }}
- run: deno lint
type-check:
name: Type check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: ${{ env.DENO_VERSION }}
- run: ./scripts/type-check.sh
test:
name: Test
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
# Disable the modern Linux security feature “AppArmor” so the Chromium
# developer build installed by Astral can be used in tests:
# https://issues.chromium.org/issues/373753919
- name: Disable AppArmor
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
if: matrix.os == 'ubuntu-latest'
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: ${{ env.DENO_VERSION }}
- run: ./scripts/test.sh