Skip to content

Boxlang in CI

Boxlang in CI #76

Workflow file for this run

name: PRs and Branches
on:
push:
branches-ignore:
- "main"
- "master"
- "development"
pull_request:
branches:
- main
- master
- development
jobs:
#############################################
# Tests First baby! We fail, no build :(
#############################################
tests:
uses: ./.github/workflows/tests.yml
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