PHP - update and publish SDK #62
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: 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: 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: ${{ secrets.SHIPPO_TOKEN }} |