-
-
Notifications
You must be signed in to change notification settings - Fork 3
53 lines (45 loc) · 1.61 KB
/
Copy pathsnapshot.yml
File metadata and controls
53 lines (45 loc) · 1.61 KB
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
47
48
49
50
51
52
53
name: Build Snapshot Release
on:
push:
branches:
- 'development'
# Unique group name per workflow-branch/tag combo
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
##########################################################################################
# Tests
##########################################################################################
tests:
secrets: inherit
uses: ./.github/workflows/tests.yml
##########################################################################################
# Format Source Code
##########################################################################################
# Will enable once we have more testing in.
# format:
# name: Code Auto-Formatting
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v6
# - name: Setup CommandBox CLI
# uses: Ortus-Solutions/setup-commandbox@v2.0.1
# - name: Auto-format
# run: |
# box install commandbox-cfformat
# box run-script format
# - name: Commit Format Changes
# uses: stefanzweifel/git-auto-commit-action@v4
# with:
# commit_message: Apply cfformat changes
# push_options: --force
##########################################################################################
# Release it
##########################################################################################
release:
uses: ./.github/workflows/release.yml
needs: [ tests ]
secrets: inherit
with:
snapshot: true