Skip to content

Feature/options datasource set grammar #214

Feature/options datasource set grammar

Feature/options datasource set grammar #214

Workflow file for this run

name: PRs and Branches
on:
push:
branches-ignore:
- "main"
- "master"
- "development"
pull_request:
branches:
- main
- master
- development
jobs:
tests:
runs-on: ubuntu-latest
name: Tests
strategy:
fail-fast: false
matrix:
cfengine: ["lucee@5", "adobe@2018", "adobe@2021"]
fullNull: ["true", "false"]
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 11
- name: Set Up CommandBox
uses: elpete/[email protected]
- name: Install dependencies
run: |
box install
- name: Start server
run: box server start cfengine=${{ matrix.cfengine }} --noSaveSettings
- name: Run TestBox Tests
env:
FULL_NULL: ${{matrix.fullNull}}
run: box testbox run
format:
runs-on: ubuntu-latest
name: Format
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Setup Java JDK
uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 11
- name: Set Up CommandBox
uses: elpete/[email protected]
- name: Install CFFormat
run: box install commandbox-cfformat
- name: Run CFFormat
run: box run-script format
- name: Commit Format Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply cfformat changes