Skip to content

chore(deps): update peter-evans/create-pull-request digest to 84ae59a #3560

chore(deps): update peter-evans/create-pull-request digest to 84ae59a

chore(deps): update peter-evans/create-pull-request digest to 84ae59a #3560

Workflow file for this run

name: Generate
on:
pull_request:
concurrency:
group: generate-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
name: Check changes
runs-on: ubuntu-24.04
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
id: changes
continue-on-error: true
with:
filters: |
src:
- .github/workflows/**
- external/**
- tool/**
- packages/dynamite/**
- packages/nextcloud/**
- .fvmrc
dart:
name: Dart
runs-on: ubuntu-24.04
needs: changes
if: needs.changes.outputs.src != 'false'
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
fetch-depth: 0
- name: Submodules
run: git submodule update --init --depth 0
- name: Install dart
uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c # v1
with:
sdk: 3.7
- name: Setup
run: ./tool/setup.sh
- name: Generate dynamite end to end test
run: |
./tool/generate-dynamite-e2e-test.sh
git --no-pager diff --exit-code
- name: Generate dynamite petstore example
run: |
./tool/generate-dynamite-petstore-example.sh
git --no-pager diff --exit-code
- name: Generate nextcloud
run: |
./tool/generate-nextcloud.sh
git --no-pager diff --exit-code
openapi:
name: OpenAPI
runs-on: ubuntu-24.04
needs: changes
if: needs.changes.outputs.src != 'false'
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
fetch-depth: 0
- name: Submodules
run: git submodule update --init --depth 0
- name: Install php
uses: shivammathur/setup-php@bf6b4fbd49ca58e4608c9c89fba0b8d90bd2a39f # v2
with:
php-version: "8.1"
tools: composer
# Use https://github.com/kislyuk/yq
- name: Install yq
run: pip install yq --break-system-packages
- name: Generate specs
run: |
./tool/generate-specs.sh
git --no-pager diff --exit-code