Inspector #173
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Verify (POSIX) | |
| on: | |
| workflow_call: | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: setup deno | |
| uses: denoland/setup-deno@v2 | |
| with: | |
| deno-version: v2.x | |
| - name: reload dependencies | |
| run: deno cache --reload **/mod.ts | |
| - run: deno check tasks/*.ts | |
| - run: deno fmt --check | |
| - run: deno lint | |
| - run: deno task generate-importmap "^3" v3.importmap.json | |
| - run: deno task generate-importmap v4 v4.importmap.json | |
| - name: V3 Tests | |
| run: deno test --import-map v3.importmap.json --allow-net --allow-read --allow-write --allow-env --allow-run --allow-ffi | |
| - name: V4 Tests | |
| run: deno test --import-map v4.importmap.json --allow-net --allow-read --allow-write --allow-env --allow-run --allow-ffi --trace-leaks |