v3.5.2 #42
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PRs and Branches | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
name: Tests | |
strategy: | |
fail-fast: true | |
matrix: | |
cfengine: ["lucee@5", "adobe@2016", "adobe@2018"] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
with: | |
path: stripecfml # checkout as stripecfml because that is how the module installs | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
java-version: 11 | |
- name: Set Up CommandBox | |
uses: elpete/[email protected] | |
- name: Install dependencies | |
run: cd stripecfml && box install | |
- name: Start server | |
run: cd stripecfml && box server start cfengine=${{ matrix.cfengine }} --noSaveSettings | |
- name: Run TestBox Tests | |
run: cd stripecfml && box testbox run | |
format: | |
runs-on: ubuntu-latest | |
name: Format | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Setup Java JDK | |
uses: actions/[email protected] | |
with: | |
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 |