Files
manifold-workflow-engine/.github/workflows/tests.yml
Geoff Seemueller 36dc86ff8c Set read permissions for workflows in tests and publish
Added `contents: read` and `pull-requests: read` permissions to the `tests` and `publish` GitHub workflows. This enhances security by explicitly defining the required permissions for these jobs.
2025-01-09 18:11:31 -05:00

27 lines
447 B
YAML

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, reopened]
jobs:
tests:
permissions:
contents: read
pull-requests: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Test
run: bun test