Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,9 @@ dotnet_diagnostic.S6602.severity = none # "Find" method should be use
dotnet_diagnostic.S6603.severity = none # The collection-specific "TrueForAll" method should be used instead of the "All"
dotnet_diagnostic.S6605.severity = none # Collection-specific "Exists" method should be used instead of the "Any"
dotnet_diagnostic.S6964.severity = none # Value type property used as input in a controller action should be nullable, required or annotated with the JsonRequiredAttribute to avoid under-posting.
dotnet_diagnostic.S8969.severity = none # Remove this null-forgiving operator; the compiler already knows this expression is not null here
dotnet_diagnostic.S8970.severity = none # Remove this null-forgiving operator; nullable warnings are disabled here


##########################################
# Custom - File Extension Settings
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: "Build and test"

on:
push:
branches:
- main
tags-ignore:
- '**'
pull_request:
branches:
- main

jobs:
dotnet-build:
runs-on: windows-latest
steps:
- name: 🛒 Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0

- name: ⚙️ Setup .NET
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.0.x'

- name: 🔁 Restore packages
run: dotnet restore Atc.Wpf.slnx

- name: 🛠️ Build solution
run: dotnet build Atc.Wpf.slnx -c Release --no-restore

dotnet-test:
runs-on: windows-latest
needs: dotnet-build
steps:
- name: 🛒 Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0

- name: ⚙️ Setup .NET
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.0.x'

- name: 🔁 Restore packages
run: dotnet restore Atc.Wpf.slnx

- name: 🛠️ Build solution
run: dotnet build Atc.Wpf.slnx -c Release --no-restore /p:UseSourceLink=true

- name: 🧪 Run unit tests with code coverage
run: dotnet test --solution Atc.Wpf.slnx -c Release --no-build --coverage --coverage-output-format cobertura

- name: 📤 Upload coverage reports as workflow artifacts
if: ${{ !cancelled() }}
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: coverage-cobertura
path: '**/TestResults/**/*.cobertura.xml'
if-no-files-found: warn
retention-days: 14
83 changes: 0 additions & 83 deletions .github/workflows/post-integration.yml

This file was deleted.

69 changes: 0 additions & 69 deletions .github/workflows/pre-integration.yml

This file was deleted.

65 changes: 65 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: release-please

on:
push:
branches:
- main

jobs:
release-please:
# WPF targets Windows, so the packages must be built on a Windows runner.
runs-on: windows-latest
permissions:
contents: read
id-token: write # required for NuGet Trusted Publishing (OIDC)

steps:
- name: release-please
id: release
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
with:
token: ${{ secrets.RELEASE_PLEASE_PAT }}

- name: 🛒 Checkout repository
if: ${{ steps.release.outputs.release_created }}
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
ref: ${{ steps.release.outputs.tag_name }}

- name: ⚙️ Setup .NET
if: ${{ steps.release.outputs.release_created }}
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: '10.0.x'

- name: 🧹 Clean
if: ${{ steps.release.outputs.release_created }}
run: dotnet clean Atc.Wpf.slnx -c Release && dotnet nuget locals all --clear

- name: 🔁 Restore packages
if: ${{ steps.release.outputs.release_created }}
run: dotnet restore Atc.Wpf.slnx

- name: 🛠️ Build solution
if: ${{ steps.release.outputs.release_created }}
run: dotnet build Atc.Wpf.slnx -c Release --no-restore /p:UseSourceLink=true

# All packages share a single <Version> in Directory.Build.props, so they are
# always packed and published together from one release-please tag.
# Only projects with IsPackable=true (the ten src libraries) produce a package.
# On Windows, dotnet nuget push only expands the wildcard in a path that uses backslashes.
- name: 🗳️ Creating library packages for release
if: ${{ steps.release.outputs.release_created }}
run: dotnet pack Atc.Wpf.slnx -c Release --no-restore -o "${{ github.workspace }}\packages"

- name: 🔑 NuGet login (OIDC → short-lived API key)
if: ${{ steps.release.outputs.release_created }}
id: nuget-login
uses: NuGet/login@8d196754b4036150537f80ac539e15c2f1028841 # v1.2.0
with:
user: ${{ secrets.NUGET_USER }}

- name: 📦 Push packages to NuGet
if: ${{ steps.release.outputs.release_created }}
run: dotnet nuget push "${{ github.workspace }}\packages\*.nupkg" -k "${{ steps.nuget-login.outputs.NUGET_API_KEY }}" -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols
68 changes: 0 additions & 68 deletions .github/workflows/release.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "4.0.215"
}
7 changes: 2 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
From 4.0.216 onwards this file is maintained by [release-please](https://github.com/googleapis/release-please) from [Conventional Commits](https://www.conventionalcommits.org/), and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## 4.0.215 (2026-05-12)

### Added

Expand Down Expand Up @@ -560,5 +559,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`StepperStepChangedEventArgsTests`, `StepperStepChangingEventArgsTests`
(`Cancel` defaults to false + setter), `SegmentedSelectionChangedEventArgsTests`
(null items allowed + index pair).

[Unreleased]: https://github.com/atc-net/atc-wpf/compare/HEAD
Loading