Skip to content

Commit

Permalink
Merge pull request #50 from michaelachrisco/github-actions
Browse files Browse the repository at this point in the history
Remove CircleCI and replace with GH Actions
  • Loading branch information
michaelachrisco committed Mar 11, 2023
2 parents 75a863d + 18b1e0d commit f89b169
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 27 deletions.
27 changes: 0 additions & 27 deletions .circleci/config.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: michaelachrisco2/ReadOnlyTraitLaravel/build
on:
push:
branches:
- main
jobs:
build_php_version:
runs-on: ubuntu-latest
container:
image: php:8.0.20
steps:
- uses: actions/[email protected]
- uses: php-actions/composer@master
with:
php_version: '8.1'
ssh_key: ${{ secrets.SSH_KEY }}
ssh_key_pub: ${{ secrets.SSH_KEY_PUB }}
- run: composer self-update
- run: composer install -n --prefer-dist --no-plugins
- run: "./vendor/bin/kahlan -reporter=verbose"
build_latest:
runs-on: ubuntu-latest
container:
image: php:latest
steps:
- uses: actions/[email protected]
- uses: php-actions/composer@master
with:
php_version: '8.1'
ssh_key: ${{ secrets.SSH_KEY }}
ssh_key_pub: ${{ secrets.SSH_KEY_PUB }}
- run: composer self-update
- run: composer install -n --prefer-dist --no-plugins
- run: "./vendor/bin/kahlan -reporter=verbose"

0 comments on commit f89b169

Please sign in to comment.