Skip to content

Refresh Craft Cloud package for Craft 6 #96

Refresh Craft Cloud package for Craft 6

Refresh Craft Cloud package for Craft 6 #96

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- 5.x
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: PHP ${{ matrix.php }}
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
php: ['8.5']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: bcmath, curl, dom, intl, mbstring, pdo, zip
tools: composer:v2
coverage: none
- name: Validate Composer configuration
run: composer validate --strict
- name: Install dependencies
uses: ramsey/composer-install@v3
- name: Run linter
run: composer lint
- name: Run tests
run: composer test