Skip to content

Commit

Permalink
Add setup action
Browse files Browse the repository at this point in the history
  • Loading branch information
mstilkerich committed May 18, 2022
1 parent 1f31c9b commit ebc529b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/actions/setup/action.yml
@@ -0,0 +1,26 @@
name: 'rcmcarddav-ci-setup'
description: 'Setup RCMCardDAV test environment'
inputs:
php-version:
description: 'PHP version to use'
required: true
default: '8.0'
runs:
using: "composite"
steps:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ inputs.php-version }}
tools: composer:v2
extensions: gd, xdebug, curl
coverage: xdebug
- name: Checkout roundcubemail
uses: actions/checkout@v2
with:
path: roundcubemail
repository: mstilkerich/roundcubemail
ref: 'rcmcarddav_ci'
- name: Install dependencies
run: composer update --no-interaction --no-progress
shell: bash

0 comments on commit ebc529b

Please sign in to comment.