Skip to content

fix(ci): add permissions for contents in CI workflow #741

fix(ci): add permissions for contents in CI workflow

fix(ci): add permissions for contents in CI workflow #741

Workflow file for this run

name: ci
env:
DENO_VERSION: 2.x
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: ${{ env.DENO_VERSION }}
cache: true
- name: Check fmt & lint & type check & test
run: deno task check