This commit is contained in:
1 parent
6269b54654
commit
c76d5f9032
1 file changed
+1
-5
@@ -20,8 +20,6 @@ env:
|
|||||||
IMAGE: git.greboh.dev/greboh/hearth-api
|
IMAGE: git.greboh.dev/greboh/hearth-api
|
||||||
DOTNET_NOLOGO: true
|
DOTNET_NOLOGO: true
|
||||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||||
# The runner's job network has no working IPv6; .NET (unlike curl) does not fall back to IPv4 quickly, so NuGet hangs.
|
|
||||||
DOTNET_SYSTEM_NET_DISABLEIPV6: true
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -37,9 +35,7 @@ jobs:
|
|||||||
dotnet-version: 10.0.x
|
dotnet-version: 10.0.x
|
||||||
# Hearth.Api references every module, so this compiles everything that ships.
|
# Hearth.Api references every module, so this compiles everything that ships.
|
||||||
# The AppHost (local dev only) is skipped: its Aspire packages are hundreds of MB per restore.
|
# The AppHost (local dev only) is skipped: its Aspire packages are hundreds of MB per restore.
|
||||||
# Restore logs at normal verbosity so every package download shows up.
|
- run: dotnet build Hosts/Hearth.Api/Hearth.Api.csproj -c Release
|
||||||
- run: dotnet restore Hosts/Hearth.Api/Hearth.Api.csproj -v normal
|
|
||||||
- run: dotnet build Hosts/Hearth.Api/Hearth.Api.csproj -c Release --no-restore
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
mapfile -t projects < <(git ls-files '*Tests.csproj')
|
mapfile -t projects < <(git ls-files '*Tests.csproj')
|
||||||
|
|||||||
Reference in new issue
Block a user