mirror of
https://github.com/michaelachrisco/ReadOnlyTraitLaravel.git
synced 2024-12-28 08:37:21 -08:00
Compare commits
No commits in common. "48490a8b4ae064735ec45696c45cfd6bf8537eca" and "c6055e66fd68ab6135a04f67578dc092c6834763" have entirely different histories.
48490a8b4a
...
c6055e66fd
3 changed files with 30 additions and 48 deletions
27
.circleci/config.yml
Normal file
27
.circleci/config.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
version: 2.1
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_php_version_82:
|
||||||
|
docker:
|
||||||
|
- image: cimg/php:8.2.12
|
||||||
|
working_directory: ~/ReadOnlyTraitLaravel
|
||||||
|
steps: # a set of executable commands
|
||||||
|
- checkout
|
||||||
|
- run: sudo composer self-update
|
||||||
|
- run: composer install -n --prefer-dist --no-plugins
|
||||||
|
- run: ./vendor/bin/kahlan -reporter=verbose
|
||||||
|
build_php_version_83:
|
||||||
|
docker:
|
||||||
|
- image: cimg/php:8.3.0
|
||||||
|
working_directory: ~/ReadOnlyTraitLaravel
|
||||||
|
steps: # a set of executable commands
|
||||||
|
- checkout
|
||||||
|
- run: sudo composer self-update
|
||||||
|
- run: composer install -n --prefer-dist --no-plugins
|
||||||
|
- run: ./vendor/bin/kahlan -reporter=verbose
|
||||||
|
workflows:
|
||||||
|
version: 2
|
||||||
|
build:
|
||||||
|
jobs:
|
||||||
|
- build_php_version_82
|
||||||
|
- build_php_version_83
|
45
.github/workflows/build.yml
vendored
45
.github/workflows/build.yml
vendored
|
@ -1,45 +0,0 @@
|
||||||
name: PHP Build
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_php_version_82:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Set up PHP 8.2
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: 8.2
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo composer self-update
|
|
||||||
composer install -n --prefer-dist --no-plugins
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: ./vendor/bin/kahlan -reporter=verbose
|
|
||||||
|
|
||||||
build_php_version_83:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Set up PHP 8.3
|
|
||||||
uses: shivammathur/setup-php@v2
|
|
||||||
with:
|
|
||||||
php-version: 8.3
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
sudo composer self-update
|
|
||||||
composer install -n --prefer-dist --no-plugins
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: ./vendor/bin/kahlan -reporter=verbose
|
|
|
@ -1,6 +1,6 @@
|
||||||
[![Total Downloads](https://img.shields.io/packagist/dt/michaelachrisco/readonly.svg)](https://packagist.org/packages/michaelachrisco/readonly)
|
[![Latest Version on Packagist](https://img.shields.io/packagist/v/michaelachrisco/readonly.svg?style=flat-square)](https://packagist.org/packages/michaelachrisco/readonly)
|
||||||
![build workflow](https://github.com/michaelachrisco/ReadOnlyTraitLaravel/actions/workflows/build.yml/badge.svg)
|
[![CircleCI](https://circleci.com/gh/michaelachrisco/ReadOnlyTraitLaravel.svg?style=shield)](https://app.circleci.com/pipelines/github/michaelachrisco/ReadOnlyTraitLaravel)
|
||||||
[![Latest Version on Packagist](https://img.shields.io/packagist/v/michaelachrisco/readonly.svg)](https://packagist.org/packages/michaelachrisco/readonly)
|
[![Total Downloads](https://img.shields.io/packagist/dt/michaelachrisco/readonly.svg?style=flat-square)](https://packagist.org/packages/michaelachrisco/readonly)
|
||||||
|
|
||||||
|
|
||||||
# Laravel 5+ Read Only Models
|
# Laravel 5+ Read Only Models
|
||||||
|
|
Loading…
Reference in a new issue