-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,23 +6,22 @@ on: | |
- "main" | ||
- "master" | ||
- "development" | ||
- "releases/v*" | ||
pull_request: | ||
branches: | ||
- "releases/v*" | ||
- development | ||
|
||
jobs: | ||
tests: | ||
uses: ./.github/workflows/tests.yml | ||
secrets: inherit | ||
|
||
formatCheck: | ||
# Format PR | ||
format_check: | ||
name: Checks Source Code Formatting | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- uses: Ortus-Solutions/[email protected] | ||
with: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ on: | |
type: boolean | ||
|
||
env: | ||
MODULE_ID: cbvalidation | ||
MODULE_ID: ${{ github.event.repository.name }} | ||
SNAPSHOT: ${{ inputs.snapshot || false }} | ||
|
||
jobs: | ||
|
@@ -29,7 +29,7 @@ jobs: | |
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup CommandBox | ||
uses: Ortus-Solutions/[email protected] | ||
|
@@ -64,7 +64,7 @@ jobs: | |
box task run taskfile=build/Build target=run :version=${{ env.VERSION }} :projectName=${{ env.MODULE_ID }} :buildID=${{ github.run_number }} :branch=${{ env.BRANCH }} | ||
- name: Commit Changelog To Master | ||
uses: EndBug/[email protected].1 | ||
uses: EndBug/[email protected].4 | ||
if: env.SNAPSHOT == 'false' | ||
with: | ||
author_name: Github Actions | ||
|
@@ -73,7 +73,7 @@ jobs: | |
add: changelog.md | ||
|
||
- name: Tag Version | ||
uses: rickstaa/action-create-tag@v1.6.1 | ||
uses: rickstaa/action-create-tag@v1.7.2 | ||
if: env.SNAPSHOT == 'false' | ||
with: | ||
tag: "v${{ env.VERSION }}" | ||
|
@@ -82,7 +82,7 @@ jobs: | |
|
||
- name: Upload Build Artifacts | ||
if: success() | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.MODULE_ID }} | ||
path: | | ||
|
@@ -118,7 +118,7 @@ jobs: | |
box forgebox publish --force | ||
- name: Create Github Release | ||
uses: taiki-e/create-gh-release-action@v1.6.2 | ||
uses: taiki-e/create-gh-release-action@v1.8.2 | ||
continue-on-error: true | ||
if: env.SNAPSHOT == 'false' | ||
with: | ||
|
@@ -138,7 +138,7 @@ jobs: | |
steps: | ||
# Checkout development | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: development | ||
|
||
|
@@ -148,7 +148,7 @@ jobs: | |
forgeboxAPIKey: ${{ secrets.FORGEBOX_TOKEN }} | ||
|
||
- name: Download build artifacts | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: ${{ env.MODULE_ID }} | ||
path: .tmp | ||
|
@@ -165,7 +165,7 @@ jobs: | |
# Commit it back to development | ||
- name: Commit Version Bump | ||
uses: EndBug/[email protected].1 | ||
uses: EndBug/[email protected].4 | ||
with: | ||
author_name: Github Actions | ||
author_email: [email protected] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,14 @@ on: | |
push: | ||
branches: | ||
- 'development' | ||
|
||
workflow_dispatch: | ||
|
||
# Unique group name per workflow-branch/tag combo | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
########################################################################################## | ||
# Module Tests | ||
|
@@ -21,15 +27,15 @@ jobs: | |
name: Code Auto-Formatting | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Auto-format | ||
uses: Ortus-Solutions/[email protected] | ||
with: | ||
cmd: run-script format | ||
|
||
- name: Commit Format Changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: Apply cfformat changes | ||
|
||
|