chore: replace cs and staticanalysis with reusable workflows #260
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Pre-Check | |
on: | |
pull_request: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
release-suite: | |
runs-on: ubuntu-latest | |
name: Run google-cloud-php tests | |
if: github.event.pull_request.user.login == 'release-please[bot]' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Clone googleapis/google-cloud-php | |
uses: actions/checkout@master | |
with: | |
repository: googleapis/google-cloud-php | |
path: google-cloud-php | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.1' | |
extensions: grpc | |
- name: Configure GAX dev-main | |
# @TODO change version to be "dev-main" before we merge | |
run: | | |
cd google-cloud-php | |
composer install -q -d dev | |
dev/google-cloud update-deps google/gax 'dev-main as 1.200.0' --add=dev | |
- name: Run google/cloud package tests | |
run: | | |
cd google-cloud-php | |
bash .github/run-package-tests.sh |