Skip to content

v0.3.6

v0.3.6 #8

Workflow file for this run

name: Run test
on: [ release ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [ 8.3 ]
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run test suite
run: |
vendor/bin/pest
- name: Compile phar file
run: |
composer install --no-dev
make build-phar
- name: Upload artifact to release
uses: actions/upload-artifact@v2
with:
name: phar
path: ./builds/lina.phar
- name: Create release
uses: softprops/action-gh-release@v1
with:
files: ./builds/lina.phar
tag_name: ${{ github.ref }}
token: ${{ secrets.GITHUB_TOKEN }}