Sync from GitHub main #1

Open
nomad wants to merge 145 commits from sync/from-github into main
Showing only changes of commit 5e8df12b70 - Show all commits
+6 -11
View File
@@ -6,20 +6,15 @@ on:
workflow_dispatch:
jobs:
runtime-policy:
name: Repository runtime policy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Enforce runtime policy
run: bash server/scripts/verify-no-legacy-runtime.sh
build-and-test:
name: C# build and test
name: Repository policy, C# build and test
runs-on: [self-hosted, Linux, X64]
steps:
- uses: actions/checkout@v4
- name: Enforce repository runtime policy
run: bash server/scripts/verify-no-legacy-runtime.sh
- uses: actions/setup-dotnet@v4
with:
dotnet-version: "8.0.x"
@@ -32,7 +27,7 @@ jobs:
working-directory: server
run: dotnet run --project tests/CommonwealthOnline.Server.Tests.csproj -c Release
- name: Check Linux scripts and repository policy
- name: Check Linux scripts
working-directory: server
run: |
chmod +x start.sh fix-port.sh scripts/linux_compat_checks.sh scripts/verify-no-legacy-runtime.sh
@@ -40,7 +35,7 @@ jobs:
bash -n fix-port.sh
bash -n scripts/linux_compat_checks.sh
bash -n scripts/verify-no-legacy-runtime.sh
bash scripts/verify-no-legacy-runtime.sh
bash scripts/linux_compat_checks.sh
- name: Publish Linux server
working-directory: server