Bump actions/checkout from 4.2.0 to 4.2.2 #658
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: Tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
stable: | |
name: Test @stable deps | |
uses: ./.github/workflows/run-tests.yml | |
dev: | |
name: Test @dev deps | |
uses: ./.github/workflows/run-tests.yml | |
with: | |
deps: dev | |
continue_on_error: true | |
lowest: | |
name: Test --prefer-lowest deps | |
uses: ./.github/workflows/run-tests.yml | |
with: | |
deps: lowest | |
continue_on_error: true | |
build: | |
name: Test Phar build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/[email protected] | |
- name: Install PHP | |
uses: shivammathur/[email protected] | |
with: | |
php-version: '7.4' | |
tools: composer:v2 | |
coverage: none | |
- name: Install dependencies | |
uses: nick-fields/[email protected] | |
with: | |
timeout_minutes: 5 | |
max_attempts: 5 | |
command: composer update --no-interaction --no-progress | |
- name: Build Phar binaries | |
run: make build | |
- name: Upload build artifacts | |
uses: actions/[email protected] | |
with: | |
name: binaries | |
path: build/*/psysh | |
- name: Smoke test | |
run: .github/bin/smoketest.sh | |
phar: | |
name: Test Phar | |
needs: build | |
uses: ./.github/workflows/run-phar-tests.yml |