mirror of
https://github.com/michaelachrisco/ReadOnlyTraitLaravel.git
synced 2024-10-31 21:33:23 -07:00
30 lines
801 B
YAML
30 lines
801 B
YAML
|
name: michaelachrisco2/ReadOnlyTraitLaravel/build
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
jobs:
|
||
|
build_php_version:
|
||
|
defaults:
|
||
|
run:
|
||
|
working-directory: "~/ReadOnlyTraitLaravel"
|
||
|
runs-on: ubuntu-latest
|
||
|
container:
|
||
|
image: php:8.0.20
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3.3.0
|
||
|
- run: sudo composer self-update
|
||
|
- run: composer install -n --prefer-dist --no-plugins
|
||
|
- run: "./vendor/bin/kahlan -reporter=verbose"
|
||
|
build_latest:
|
||
|
defaults:
|
||
|
run:
|
||
|
working-directory: "~/ReadOnlyTraitLaravel"
|
||
|
runs-on: ubuntu-latest
|
||
|
container:
|
||
|
image: php:latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3.3.0
|
||
|
- run: sudo composer self-update
|
||
|
- run: composer install -n --prefer-dist --no-plugins
|
||
|
- run: "./vendor/bin/kahlan -reporter=verbose"
|