Use the latest Kosit-Validation tool #117
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: CI (Ant, PHP 8.0) | |
on: | |
push: | |
tags-ignore: | |
- '**' | |
branches: | |
- '**' | |
paths-ignore: | |
- '**.md' | |
jobs: | |
build: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP with PECL extension | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.0' | |
extensions: imagick, swoole | |
coverage: xdebug | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Build with Ant | |
run: ant -noinput -buildfile build.ant.xml | |
- name: Publish Unit Test Results | |
uses: EnricoMi/publish-unit-test-result-action@v1 | |
if: always() | |
with: | |
files: "./build/logs/junit.xml" |