Files
jsmr/.gitea/workflows/ci.yml
Brian Bicknell 803cd7984c
Some checks failed
ci / build-test (push) Failing after 5s
Updated CI file again, again.
2025-11-02 14:51:47 -05:00

28 lines
807 B
YAML

name: ci
on:
push:
pull_request:
jobs:
build-test:
runs-on: [self-hosted, linux, x64, docker]
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
options: >-
--privileged
-v /var/run/docker.sock:/var/run/docker.sock
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }}
restore-keys: |
nuget-${{ runner.os }}-
- run: dotnet restore
- run: dotnet build --configuration Release --no-restore
- run: dotnet test --configuration Release --no-build --logger "trx;LogFileName=test-results.trx"