Skip to content

CI

CI #2

Workflow file for this run

name: CI
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
services:
docker:
image: docker:28.1-dind
env:
DOCKER_TLS_CERTDIR: ""
ports:
- 2375:2375
volumes:
- /var/run/docker-dind.sock:/var/run/docker.sock
options: >-
--privileged
--tmpfs /var/lib/docker
--health-cmd "docker info || exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
framework:
- net8.0
- net9.0
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.x
- name: Build
run: dotnet build -c Release --framework ${{ matrix.framework }}
- name: Test
run: dotnet test -c Release --framework ${{ matrix.framework }} --no-build --logger console