Skip to content

Merge pull request #3 from braze-community/release-please--branches--… #38

Merge pull request #3 from braze-community/release-please--branches--…

Merge pull request #3 from braze-community/release-please--branches--… #38

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
tools: composer:v2
- name: Install dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Generate code
run: composer build
- name: Check Git working tree
run: |
if [[ $(git diff --stat) != '' ]]; then
echo 'Detected uncommitted changes. See status below:'
git diff
exit 1
fi