Skip to content

PHP - update and publish SDK once the generator is GA #51

PHP - update and publish SDK once the generator is GA

PHP - update and publish SDK once the generator is GA #51

Workflow file for this run

name: Validate
permissions:
contents: write
id-token: write
on:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
jobs:
check:
runs-on: ubuntu-latest
timeout-minutes: 10
concurrency:
group: php-sdk-check
steps:
- name: Authenticate with AWS
uses: goshippo/shippo-action-workflows/.github/actions/[email protected]
with:
environment: dev-main
oidc-name: shippo-php-sdk-pipeline
login-to-ecr: false
- name: Get Speakeasy Secrets Manager
uses: aws-actions/aws-secretsmanager-get-secrets@v2
with:
secret-ids: |
dev-main-speakeasy-api-key
name-transformation: uppercase
parse-json-secrets: true
- name: Check out repository
uses: actions/checkout@v4
- name: Set up PHP
id: setup_php
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: cache dependencies
uses: actions/cache@v4
with:
path: ./vendor
key: python-${{ steps.setup_python.outputs.python-version }}-${{ hashFiles('setup.py') }}
- name: Install dependencies
run: |
make install
- name: Check
run: make check
env:
SHIPPO_TOKEN: ${{ env.DEV_MAIN_SPEAKEASY_API_KEY_SHIPPO_TOKEN }}