You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
phparkitect-arkitect
0.3.27
This repository is created for run PHPArkitect into Github Actions
You can use it as a Github Action like this:
# .github/workflows/test.yml
on:
push:
branches:
- master
pull_request:
name: Test
jobs:
phparkitect:
name: PHPArkitect
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
- name: PHPArkitect
uses: docker://phparkitect/arkitect-github-actions
with:
args: check
to use a specific php version:
uses: docker://phparkitect/arkitect-github-actions
+ env:
+ PHP_VERSION: 8.0
with:
args: check
docker login
docker build -t phparkitect/arkitect-github-actions:latest .
docker push phparkitect/arkitect-github-actions:latest