Skip to content

chore(deps): bump actions/setup-dotnet from 4 to 6 - #2

Closed
dependabot[bot] wants to merge 18 commits into
mainfrom
dependabot/github_actions/actions/setup-dotnet-6
Closed

dependabot[bot] wants to merge 18 commits into
mainfrom
dependabot/github_actions/actions/setup-dotnet-6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 25, 2026

Copy link
Copy Markdown

Bumps actions/setup-dotnet from 4 to 6.

Release notes

Sourced from actions/setup-dotnet's releases.

v6.0.0

What's Changed

New Contributors

Full Changelog: actions/setup-dotnet@v5...v6.0.0

v5.4.0

What's Changed

Enhancements

The action now validates the sdk.version field in global.json when rollForward is specified. The version must be a fully-qualified SDK version (e.g., 8.0.100, 10.0.100). Wildcard versions (e.g., 10.0.*) and runtime-style versions (e.g., 8.0.0) will now fail. See the .NET SDK version specification for details.

Documentation

Bug Fixes

Dependency Updates

New Contributors

Full Changelog: actions/setup-dotnet@v5.3.0...v5.4.0

v5.3.0

What's Changed

Enhancements

Dependency Updates

... (truncated)

Commits
  • a98b568 chore(deps): bump @​actions/cache to 6.2.0 (#756)
  • afb2931 Bump actions/checkout from 6.0.3 to 7.0.0 (#751)
  • 6df8cef Migrate to ESM and upgrade dependencies (#752)
  • 26b0ec1 Expand the CSC problem matcher to light up more errors on GitHub. (#717)
  • da5e548 docs(action): explicitly mark all optional inputs with required: false (#737)
  • 9bd3b44 Improve readability of global.json creation command (#694)
  • 4406a63 Bump @​actions/cache to 5.1.0, log cache write denied (#746)
  • dc3262d pin actions to commit SHAs in workflows (#744)
  • 95a3f8b Validate global.json SDK version before rollForward optimization (#742)
  • 9a946fd Add rollForward note in README, improve proxy health check in e2e tests and b...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

stuarthillary and others added 18 commits March 4, 2026 22:20
  - Five-project solution: Core, Cli, Reports, Core.Tests, Reports.Tests
  - Central Package Management (Directory.Packages.props, Directory.Build.props)
  - Packages: System.CommandLine 2.0.3, TUnit 1.16.4, Imposter 0.1.0
  - Core models and IFileSystem abstraction for filesystem operations
  - CLI command scaffolds (snapshot, diff, report verbs via System.CommandLine)
  - Report formatter plugin interface (IReportFormatter)
  - Clean build (0 errors, 0 warnings)
  - Target: .NET 10.0 across all projects

  Key decisions:
  - Serialization: JSON (indented, camelCase, null-suppressed via System.Text.Json)
  - Filesystem abstraction: IFileSystem with PhysicalFileSystem + Imposter mocks
  - CLI framework: System.CommandLine 2.0.3 (collection-based API)
  - Testing: TUnit 1.16.4 as meta package (Exe, no Test.Sdk)
  - Diff algorithm: O(n+m) sorted merge join
  - Report plugins: Single IReportFormatter interface for all formats
  PhysicalFileSystem and DirectoryScanner.ScanAsync:
  - Recursive enumeration with SHA-256 hashing
  - Per-entry error handling (IOException/UnauthorizedAccessException captured, entry emitted with Hash/SizeBytes=null)
  - Forward-slash normalization for cross-platform compatibility
  - Sorted output (by RelativePath, ordinal)
  - Early cancellation check (pre-loop validation)

  10 TUnit tests:
  - Empty dir, single file metadata, hash correctness
  - Directory entries, sort order, backslash->forward-slash conversion
  - Cancellation respect, snapshot fields (RootPath/CapturedAtUtc/MachineName)
  - Mixed file/directory entries, per-entry read error handling
  - FakeFileSystem pattern established for IFileSystem testing

  Fixed 2 bugs caught by the tests:
  - Pre-loop cancellation check (was inside enumeration loop)
  - SizeBytes reset on read error (was not being cleared with Hash)

  All 10 tests passing. Clean build. Ready for diff engine.
- Add O(n+m) sorted merge join diff algorithm
- Detect Added/Removed/Unchanged/Modified entries
- Hash-based shortcut: equal hashes = Unchanged regardless of metadata
- Populate ChangedProperties for Modified entries (Hash, SizeBytes, LastModifiedUtc, Attributes, IsDirectory)
- Compute DiffSummary counts from result entries
- All 10 scanner tests still passing
  - Implemented SerializeAsync and DeserializeAsync using System.Text.Json reflection-based deserialization
  - Configured for WriteIndented, CamelCase field names, null-field omission
  - All deserialization errors (empty stream, invalid JSON) surface as InvalidDataException
  - 9 new TUnit tests covering round-trip, format, error cases, DateTimeOffset handling
  - Exception type aligned across serializer surface for consistent error handling
  - 19/19 tests passing, clean build
- 18 new TUnit tests for SnapshotDiffer.Compare
- Covers: empty snapshots, all-added, all-removed, identical,
  single add/remove, hash change, size-only change, hash shortcut,
  mixed multi-entry diffs, summary counts, ChangedProperties correctness
- 19 existing tests (scanner + serializer) continue to pass
- Total: 37/37 tests passing
- snapshot: scans directory with DirectoryScanner, serializes to file or stdout
- diff: deserializes two snapshots, runs SnapshotDiffer, outputs JSON + summary
- report: deserializes diff, looks up formatter, catches NotImplementedException for stub formatters (exit code 2)
- all async calls wrapped with GetAwaiter().GetResult() per System.CommandLine 2.0.3 constraints
  - Implement HtmlReportFormatter.RenderAsync - self-contained HTML
    report with summary cards, colour-coded status badges, file table,
    size formatting, ChangedProperties display (zero warnings, clean build)
  - 13 TUnit tests in DiffTool.Reports.Tests (correct project)
  - Fix: tests were initially placed in DiffTool.Core.Tests - moved to
    DiffTool.Reports.Tests where they belong; removed stray ProjectReference
  - Total: 50 tests passing (37 Core + 13 Reports)
.claude/settings.local.json holds machine-specific overrides and should
not be shared across machines.
Adds Mono.Cecil-based assembly inspection for .dll and .exe files.
When an IAssemblyInspector is configured on DirectoryScanner, it
reads public types, methods, properties, and fields from the PE
metadata without loading the assembly into the CLR.

- New AssemblyInfo model hierarchy (AssemblyTypeInfo, AssemblyMethodInfo,
  AssemblyPropertyInfo, AssemblyFieldInfo)
- New IAssemblyInspector interface and AssemblyInspector implementation
- FileEntry gains an optional AssemblyInfo property
- DirectoryScanner accepts an optional IAssemblyInspector; inspection
  is skipped when null (backward-compatible)
- 14 new tests (9 AssemblyInspector, 5 DirectoryScanner integration)
Adds structured API-surface comparison for .NET assemblies and surfaces
the results in the HTML report as expandable per-file detail panels.

Core changes:
- AssemblyDiff / AssemblyTypeDiff models capture added, removed, and
  modified types with full member-level detail
- AssemblyDiffer uses sorted merge-join at the type and member level
  (O(n+m)); methods are keyed on name + parameter types so overloads
  and signature changes appear as remove+add pairs; properties and
  fields are keyed on name + type
- SnapshotDiffer calls AssemblyDiffer for Modified entries where both
  sides carry AssemblyInfo; populates DiffEntry.AssemblyDiff and adds
  "AssemblyInfo" to ChangedProperties only when the API surface changed
- DiffEntry gains an optional AssemblyDiff property

Report changes:
- Added/Removed assembly entries show public type count in Changes column
  and a collapsible type list in an inline detail row
- Modified assembly entries show a type-count summary in Changes column
  (e.g. "+2 types · -1 type") and a collapsible diff panel with
  added/removed types and per-type member changes
- Detail panels use the HTML <details>/<summary> element — no JavaScript

39 new tests (15 AssemblyDiffer, 3 SnapshotDiffer, 8 HtmlReportFormatter,
13 existing tests unaffected)
…nore

- snapshot: optional --inspect-assemblies/-a passes AssemblyInspector to DirectoryScanner
- add README.md describing the tool and usage
- replace .gitignore with the GitHub VisualStudio template, keeping project-specific entries
…ng; add CLI tests

- Scanner keeps size/mtime/attributes when only the hash read fails, so
  unreadable files no longer appear modified against a readable copy.
- SnapshotDiffer ignores LastModifiedUtc when both entries are directories.
- diff summary line goes to stderr so stdout JSON stays valid.
- CLI converts I/O and JSON failures to an error message and exit code 1;
  remove dead NotImplementedException handling.
- Extract CliApp from Program with injectable streams and add
  DiffTool.Cli.Tests covering snapshot, diff, report and the full pipeline.
…d inspector tests

- PhysicalFileSystem lists directory symlinks/junctions without descending
  into them (no link cycles) and skips unlistable directories.
- Scanner reads assemblies once for both hashing and inspection.
- AssemblyDiffer reports type kind/base/modifier/interface changes and
  member return type, modifier, accessor and constant changes; types are
  re-sorted ordinally before merge-joining.
- AssemblyInspector includes public nested types, sorts ordinally and
  omits enum value__ fields.
- HTML report renders the new assembly detail.
- Add PhysicalFileSystem, inspector shape, differ detail and scanner
  single-read tests; document behaviour in README.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Replace reflection-based System.Text.Json calls with source-generated
contexts, mark Core and Reports as AOT compatible, and set PublishAot
on the CLI. IL2104 from Mono.Cecil is suppressed since symbol reading
is disabled.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Build and test on Windows and Linux, publish and smoke-test AOT
binaries, pin the SDK via global.json, add Dependabot and a CI badge.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 4 to 6.
- [Release notes](https://github.com/actions/setup-dotnet/releases)
- [Commits](actions/setup-dotnet@v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-dotnet
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Oct 25, 2026
@stuarthillary
stuarthillary deleted the dependabot/github_actions/actions/setup-dotnet-6 branch October 25, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant