-
-
Notifications
You must be signed in to change notification settings - Fork 171
46 lines (40 loc) · 1.32 KB
/
snapshot.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# This workflow tests the ColdBox code using many permutations in the matrix.
# If successful, then it creates the bleeding edge artifact and publishes it to S3 and ForgeBox
name: ColdBox Snapshots
on:
push:
branches:
- development
jobs:
#############################################
# Tests First baby! We fail, no build :(
#############################################
tests:
uses: ./.github/workflows/tests.yml
secrets: inherit
##########################################################################################
# Format Source Code
##########################################################################################
format:
name: Code Auto-Formatting
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Auto-format
uses: Ortus-Solutions/[email protected]
with:
cmd: run-script format
- name: Commit Format Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply cfformat changes
push_options: --force
#############################################
# Build Snapshot Release
#############################################
build:
uses: ./.github/workflows/release.yml
needs: [ tests, format ]
secrets: inherit
with:
snapshot: true