Skip to content

chore(deps): bump zod from 3.25.76 to 4.3.6 #143

chore(deps): bump zod from 3.25.76 to 4.3.6

chore(deps): bump zod from 3.25.76 to 4.3.6 #143

# SPDX-License-Identifier: PMPL-1.0-or-later
name: ReScript/Deno CI
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: denoland/setup-deno@5fae568d37bbd5d82f7bc6ead283828a72525312 # v2.0.0
with:
deno-version: v1.x
- name: Deno lint
run: deno task lint
- name: Deno fmt check
run: deno task fmt:check
- name: Deno test
run: deno test --allow-all --coverage=coverage
- name: ReScript build
run: |
if [ -f "rescript.json" ] || [ -f "bsconfig.json" ]; then
npm install
npx rescript
fi
- name: Type check
run: deno check **/*.ts || true
security:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: denoland/setup-deno@5fae568d37bbd5d82f7bc6ead283828a72525312 # v2.0.0
- name: Check permissions
run: |
# Audit for dangerous permissions
grep -rE "allow-run|allow-write|allow-env" . || echo "No dangerous permissions"