Skip to content

chore: remove dlint example test binary #3797

chore: remove dlint example test binary

chore: remove dlint example test binary #3797

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
rust:
name: deno_lint-${{ matrix.os }}
if: |
github.event_name == 'push' ||
!startsWith(github.event.pull_request.head.label, 'denoland:')
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
matrix:
os: [macos-15-intel, ubuntu-latest, windows-latest]
env:
CARGO_INCREMENTAL: 0
GH_ACTIONS: 1
RUST_BACKTRACE: full
RUSTFLAGS: -D warnings
steps:
- name: Clone repository
uses: actions/checkout@v5
with:
persist-credentials: false
- uses: dsherret/rust-toolchain-file@v1
- name: Install Deno
uses: denoland/setup-deno@v2
with:
deno-version: canary
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Format
if: contains(matrix.os, 'ubuntu')
run: deno run --allow-run ./tools/format.ts --check
- name: Build
run: cargo build --locked --release --all-targets --all-features
- name: Test
run: |
cargo test --locked --release --all-targets --all-features
deno test --unstable --allow-read=. --allow-write=. --allow-run --allow-env ./tools
- name: Lint
if: contains(matrix.os, 'ubuntu')
run: deno run --allow-run --allow-env ./tools/lint.ts --release