Skip to content

馃殌 release: v1.1.0 #24

馃殌 release: v1.1.0

馃殌 release: v1.1.0 #24

Workflow file for this run

name: CI
on:
pull_request:
branches: [main, dev]
push:
branches: [main, dev]
workflow_call:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build packages
run: bun run build:packages
- name: Build plugins
run: bun run build:plugins
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build packages
run: bun run build:packages
- name: Build plugins
run: bun run build:plugins
- name: Run tests (with retry for Bun runtime segfaults)
uses: nick-fields/retry@v3
with:
max_attempts: 3
timeout_minutes: 10
command: bun test
package:

Check failure on line 54 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 54, Col: 3): Error calling workflow 'warengonzaga/tinyclaw/.github/workflows/package.yml@5d4543ac85ed8d3caf182e16b7edb48783c470aa'. The workflow is requesting 'contents: read', but is only allowed 'contents: none'.
needs: test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
packages: write
pull-requests: write
uses: ./.github/workflows/package.yml
secrets: inherit
container:
needs: test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
permissions:
packages: write
security-events: write
pull-requests: write
uses: ./.github/workflows/container.yml
secrets: inherit