Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Do not use ant on GitHub Actions
Browse files Browse the repository at this point in the history
localheinz committed Feb 2, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent c5985a1 commit ff2242d
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
@@ -28,30 +28,22 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"

- name: "Set up Java"
uses: "actions/setup-java@v3"
with:
distribution: "zulu"
java-version: "11"
tools: "phive"

- name: "Install dependencies with composer"
run: "composer install --no-interaction --optimize-autoloader --prefer-dist"

- name: "Install phive"
run: "ant getphive"

- name: "Install dependencies with phive"
run: "ant -Dphive.bin=./phive.phar install-tools"
run: "phive.phar install --copy --trust-gpg-keys 4AA394086372C20A,2A8299CE842DD38C,CF1A108D0E7AE720,2DE50EB60C013FFFA831040D12CE0F1D262429A5,E82B2FB314E9906E"

- name: "Run friendsofphp/php-cs-fixer"
run: "ant -Dphive.bin=./phive.phar php-cs-fixer"
run: "./tools/php-cs-fixer fix --dry-run"

- name: "Run phpstan/phpstan"
run: "ant -Dphive.bin=./phive.phar phpstan"
run: "./tools/phpstan"

- name: "Run vimeo/psalm"
run: "ant -Dphive.bin=./phive.phar psalm"
run: "./tools/psalm"

tests:
name: "Tests"

0 comments on commit ff2242d

Please sign in to comment.