Update .github/workflows/ci.yml
ci / build and test (push) Canceled after 0s

This commit is contained in:
2026-07-31 08:39:25 +00:00
parent 94e11f5e38
commit f0002b683c
+3 -23
View File
@@ -23,8 +23,8 @@ env:
jobs: jobs:
build: build:
name: build and test (ubuntu) name: build and test
runs-on: ubuntu-latest runs-on: [self-hosted, linux]
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -52,24 +52,4 @@ jobs:
# server through Testcontainers and runs the API as a child process — so it needs a # server through Testcontainers and runs the API as a child process — so it needs a
# Docker daemon and gets one here. That is why the tests run on ubuntu rather than # Docker daemon and gets one here. That is why the tests run on ubuntu rather than
# macOS, whose runners have no daemon at all. Expect the Keycloak image pull to # macOS, whose runners have no daemon at all. Expect the Keycloak image pull to
# dominate a cold run. # dominate a cold run.
build-windows:
name: build (windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
global-json-file: global.json
cache: true
cache-dependency-path: '**/packages.lock.json'
- name: restore
run: dotnet restore DodoSSH.slnx --locked-mode
# Build only. Day-to-day development happens in Rider on Windows, so a
# Windows-specific compile break must fail CI even though the tests run on Linux.
- name: build
run: dotnet build DodoSSH.slnx --no-restore --configuration Release