Skip to content

Add subversion to the github action for deployment #272

Add subversion to the github action for deployment

Add subversion to the github action for deployment #272

Workflow file for this run

name: VIP Scans and other code checks
on:
push:
branches:
- 'main'
pull_request:
branches:
- '*'
workflow_call:
workflow_dispatch:
inputs:
tmate_enabled:
type: boolean
description: 'Enable "tmate" for debugging'
required: false
default: false
jobs:
check:
name: Check the code
runs-on: ubuntu-latest
steps:
- name: Setup tmate session for Debugging, if inputs.tmate_enabled is true
uses: mxschmitt/action-tmate@v3
if: ${{ inputs.tmate_enabled }}
timeout-minutes: 10
with:
detached: true
- name: Checkout code
uses: actions/checkout@master
- name: Prepare composer
run: |
$GITHUB_WORKSPACE/dev-workspace/run composer validate
$GITHUB_WORKSPACE/dev-workspace/run composer install
- name: Show version of tools inside the dev-workspace
run: |
$GITHUB_WORKSPACE/dev-workspace/run composer info:versions
- name: Run PHP check
run: |
$GITHUB_WORKSPACE/dev-workspace/run composer check:php
- name: Run Lint check
run: |
$GITHUB_WORKSPACE/dev-workspace/run composer check:lint
- name: Run Long Path check
run: |
$GITHUB_WORKSPACE/dev-workspace/run composer check:longpath