Another CI file update.
Some checks failed
ci / build-test (push) Failing after 7m3s

This commit is contained in:
2025-11-02 14:57:25 -05:00
parent 22d4e9230a
commit 6f0c7d1b16

View File

@@ -8,30 +8,20 @@ jobs:
build-test: build-test:
runs-on: [self-hosted, linux, x64, docker] runs-on: [self-hosted, linux, x64, docker]
container: container:
# Use a .NET SDK image so you can drop setup-dotnet (faster) image: ghcr.io/catthehacker/ubuntu:act-latest
image: mcr.microsoft.com/dotnet/sdk:9.0
options: >- options: >-
--privileged --privileged
# DO NOT mount /var/run/docker.sock here; the runner already does it
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
# If you stick with the .NET SDK image above, you can remove setup-dotnet. with:
# If you prefer the catthehacker Ubuntu image, keep setup-dotnet. dotnet-version: '9.0.x'
# - uses: actions/setup-dotnet@v4
# with:
# dotnet-version: '9.0.x'
- uses: actions/cache@v4 - uses: actions/cache@v4
with: with:
path: ~/.nuget/packages path: ~/.nuget/packages
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }} key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }}
restore-keys: | restore-keys: |
nuget-${{ runner.os }}- nuget-${{ runner.os }}-
- name: Docker sanity (ensures socket mount is working)
run: docker version
- run: dotnet restore - run: dotnet restore
- run: dotnet build --configuration Release --no-restore - run: dotnet build --configuration Release --no-restore
- run: dotnet test --configuration Release --no-build --logger "trx;LogFileName=test-results.trx" - run: dotnet test --configuration Release --no-build --logger "trx;LogFileName=test-results.trx"