CI: stand up Gitea Actions (TST-03) + fix the defects it caught #123
@@ -49,6 +49,13 @@ jobs:
|
||||
- name: Build NonWindows solution
|
||||
run: dotnet build src/ZB.MOM.WW.MxGateway.NonWindows.slnx -c Release
|
||||
|
||||
# GitHub-hosted runners ship pwsh; the self-hosted act image does not. Install it as a
|
||||
# .NET global tool (the SDK is already set up above) so the codegen check's `shell: pwsh` works.
|
||||
- name: Install PowerShell (pwsh)
|
||||
run: |
|
||||
dotnet tool install --global PowerShell
|
||||
echo "$HOME/.dotnet/tools" >> "$GITHUB_PATH"
|
||||
|
||||
# IPC-01 / IPC-19 / IPC-20: descriptor set + Contracts/Generated must match the current protos.
|
||||
- name: Codegen / descriptor freshness
|
||||
shell: pwsh
|
||||
@@ -93,6 +100,11 @@ jobs:
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
# GitHub-hosted runners ship gradle on PATH; the self-hosted act image does not, and the repo
|
||||
# has no gradle wrapper. Provision gradle (latest stable, matching the local homebrew build).
|
||||
- uses: gradle/actions/setup-gradle@v4
|
||||
with:
|
||||
gradle-version: current
|
||||
- name: Gradle test
|
||||
working-directory: clients/java
|
||||
run: gradle test
|
||||
|
||||
Reference in New Issue
Block a user