Skip to content

ci: enable workflow dispatch for triggering boxlang tests and reinsta… #13

ci: enable workflow dispatch for triggering boxlang tests and reinsta…

ci: enable workflow dispatch for triggering boxlang tests and reinsta… #13

Workflow file for this run

name: Build Snapshot
on:
push:
branches:
- 'development'
workflow_dispatch:
# Cancel running builds if another push to branch is made while this build is running
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
env:
MODULE_ID: ${{ github.event.repository.name }}
JDK_VERSION: 21
jobs:
#############################################
# Tests First baby! We fail, no build :(
#############################################
tests:
secrets: inherit
uses: ./.github/workflows/tests.yml

Check failure on line 24 in .github/workflows/snapshot.yml

View workflow run for this annotation

GitHub Actions / Build Snapshot

Invalid workflow file

The workflow is not valid. In .github/workflows/snapshot.yml (Line: 24, Col: 11): Error from called workflow coldbox-modules/cbMockData/.github/workflows/tests.yml@fdd9ef43b9cd94b3b8bbf440099b288ea058bae4 (Line: 72, Col: 13): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
permissions:
checks: write
pull-requests: write
contents: read
issues: read
##########################################################################################
# Format Source Code
##########################################################################################
format:
name: Code Auto-Formatting
runs-on: ubuntu-latest
permissions:
contents: write
checks: write
steps:
- uses: actions/checkout@v4
- name: Auto-format
uses: Ortus-Solutions/commandbox-action@v1.0.3
with:
cmd: run-script format
- name: Commit Format Changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply cfformat changes
##########################################################################################
# Release it
##########################################################################################
release:
uses: ./.github/workflows/release.yml
needs: [ tests, format ]
secrets: inherit
permissions:
checks: write
pull-requests: write
contents: write
issues: write
with:
snapshot: true