Skip to content

phparkitect/arkitect-github-actions

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GithubAction for Arkitect

This repository is created for run PHPArkitect into Github Actions

Usage

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

Building and pushing the docker image

docker login
docker build -t phparkitect/arkitect-github-actions:latest .
docker push phparkitect/arkitect-github-actions:latest