-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: predictable server builds and port option (#312)
Implement the ability to create predictable server builds so that the workflows can validate that it's been updated as needed. This adds the workflow lint which validates that everything has been built and lint fixes applied. This switches running the server to use -jar to reduce complexity now the manifest is correctly created. Add missing cli jars not needed for source runs, causing them to be missed in previous commit. Moved scripts into their own folder to keep the root directory cleaner. This includes a lint:fix and build changes, unrelated to this as they hadn't been run in the past. Removed try catch in server runCodeNarc as it was resulting in exceptions being logged twice.
- Loading branch information
Showing
20 changed files
with
2,072 additions
and
522 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
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Update check | ||
|
||
on: | ||
push: | ||
tags: | ||
- v* | ||
branches: | ||
- main | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
go: | ||
name: Check for changes | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install groovy | ||
uses: sdkman/sdkman-action@b1f9b696c79148b66d3d3a06f7ea801820318d0f | ||
with: | ||
candidate: groovy | ||
version: 3.0.9 | ||
|
||
- name: Install dependencies and link | ||
run: | | ||
npm ci | ||
npm link | ||
- name: Validate no changes | ||
run: | | ||
npm run dev:pre-commit | ||
git --no-pager diff | ||
[[ 0 -eq $(git status --porcelain | wc -l) ]] |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.