Skip to content

docs: drop the standalone tile from the README top #303

docs: drop the standalone tile from the README top

docs: drop the standalone tile from the README top #303

Workflow file for this run

name: ci
on:
push:
branches: ['**']
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
DOTNET_VERSION: "10.0.x"
DOTNET_NOLOGO: "true"
DOTNET_CLI_TELEMETRY_OPTOUT: "true"
# Run JavaScript actions (e.g. actions/upload-artifact@v4) on Node.js 24 ahead of
# GitHub forcing it on 2026-06-16, silencing the Node.js 20 deprecation warning.
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
core-tests:
name: Core build + tests (ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
cache: true
cache-dependency-path: |
**/packages.lock.json
**/*.csproj
- name: Restore Core projects
run: |
dotnet restore src/Snipdeck.Core/Snipdeck.Core.csproj
dotnet restore tests/Snipdeck.Core.Tests/Snipdeck.Core.Tests.csproj
- name: Build Core
run: dotnet build src/Snipdeck.Core/Snipdeck.Core.csproj --configuration Release --no-restore
- name: Build + run Core tests
run: dotnet test tests/Snipdeck.Core.Tests/Snipdeck.Core.Tests.csproj --configuration Release --no-restore --logger "trx;LogFileName=core-tests.trx" --results-directory TestResults
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: core-test-results
path: TestResults/
importer-tests:
name: Importer build + tests (ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
cache: true
cache-dependency-path: |
**/packages.lock.json
**/*.csproj
- name: Restore importer projects
run: |
dotnet restore tools/Snipdeck.Importer/Snipdeck.Importer.csproj
dotnet restore tools/Snipdeck.Importer.Tests/Snipdeck.Importer.Tests.csproj
- name: Build importer
run: dotnet build tools/Snipdeck.Importer/Snipdeck.Importer.csproj --configuration Release --no-restore
- name: Build + run importer tests
run: dotnet test tools/Snipdeck.Importer.Tests/Snipdeck.Importer.Tests.csproj --configuration Release --no-restore --logger "trx;LogFileName=importer-tests.trx" --results-directory TestResults
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: importer-test-results
path: TestResults/
app-build:
name: App build (windows)
runs-on: windows-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
cache: true
cache-dependency-path: |
**/packages.lock.json
**/*.csproj
- name: Restore
run: dotnet restore
- name: Build solution
run: dotnet build --configuration Release --no-restore
- name: Run Core tests (sanity check on Windows)
run: dotnet test tests/Snipdeck.Core.Tests/Snipdeck.Core.Tests.csproj --configuration Release --no-build --logger "trx;LogFileName=core-tests-windows.trx" --results-directory TestResults
- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: windows-test-results
path: TestResults/