Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/defender-for-devops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
- uses: actions/checkout@v6
- uses: actions/setup-dotnet@v6
with:
dotnet-version: |
5.0.x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/devskim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: Run DevSkim scanner
uses: microsoft/DevSkim-Action@v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
name: Run Tests
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
dotnet-version: 10.0.x

Expand Down Expand Up @@ -55,14 +55,14 @@ jobs:

- name: Post coverage comment on PR
if: always() && github.event_name == 'pull_request'
uses: marocchino/sticky-pull-request-comment@v2
uses: marocchino/sticky-pull-request-comment@v3
with:
header: coverage
path: coverage-report/SummaryGithub.md

- name: Upload coverage report
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: coverage-report
path: coverage-report/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: Install ESLint
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maintain-copilot-instructions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Detect projects not documented in copilot-instructions.md
id: check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/powershell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
name: PSScriptAnalyzer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Run PSScriptAnalyzer
uses: microsoft/psscriptanalyzer-action@6b2948b1944407914a58661c49941824d149734f
Expand Down
22 changes: 13 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: .NET Continuous Deployment

on:
push:
branches: [ main ]
workflow_dispatch:

permissions:
Expand All @@ -14,10 +16,12 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
dotnet-version: 10.0.x

Expand All @@ -31,10 +35,10 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
dotnet-version: 10.0.x

Expand All @@ -55,7 +59,7 @@ jobs:
run: dotnet build -c Release SharedCode.sln && dotnet pack -c Release -p:PackageVersion=${{ steps.tag_version.outputs.new_version }} -o . SharedCode.sln

- name: Upload Package for Publishing
uses: actions/upload-artifact@v4.6.1
uses: actions/upload-artifact@v5
with:
name: PackedLib
path: ./*.nupkg
Expand All @@ -68,12 +72,12 @@ jobs:
packages: write
steps:
- name: Download built project
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@v5
with:
name: PackedLib

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
dotnet-version: 10.0.x

Expand All @@ -88,12 +92,12 @@ jobs:
packages: write
steps:
- name: Download built project
uses: actions/download-artifact@v4.1.8
uses: actions/download-artifact@v5
with:
name: PackedLib

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
dotnet-version: 10.0.x

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Snyk CLI to check for security issues
# Snyk can be used to break the build when it detects security issues.
# In this case we want to upload the SAST issues to GitHub Code Scanning
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/update-copyright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Update Copyright Year

on:
schedule:
- cron: '0 0 1 1 *' # January 1st at midnight UTC
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
update-copyright:
name: Update Copyright Year
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Update copyright year
id: update
shell: pwsh
run: |
$year = (Get-Date).Year
$files = @("Directory.Build.props", "README.md")
$changed = $false
foreach ($file in $files) {
$content = Get-Content $file -Raw
$updated = $content -replace 'Copyright © \d{4}', "Copyright © $year"
if ($updated -ne $content) {
[System.IO.File]::WriteAllText($file, $updated)
$changed = $true
Write-Output "Updated $file"
}
}
echo "changed=$($changed.ToString().ToLowerInvariant())" >> $env:GITHUB_OUTPUT
echo "year=$year" >> $env:GITHUB_OUTPUT

- name: Create pull request
if: steps.update.outputs.changed == 'true'
uses: peter-evans/create-pull-request@v7
with:
commit-message: "chore: update copyright year"
branch: chore/update-copyright-year-${{ steps.update.outputs.year }}
title: "chore: update copyright year to ${{ steps.update.outputs.year }}"
body: |
Automated annual copyright year update.

This pull request was created by the `update-copyright` workflow.
labels: automated
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors>
<Company>improvGroup, LLC</Company>
<Copyright>Copyright © 2025 improvGroup, LLC and contributors. All Rights Reserved.</Copyright>
<Copyright>Copyright © 2026 improvGroup, LLC and contributors. All Rights Reserved.</Copyright>
<DebugType>portable</DebugType>
<Description>A library of code shared for free use to help with common scenarios.</Description>
<Deterministic>true</Deterministic>
Expand Down Expand Up @@ -54,7 +54,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<Build Condition="'$(DesignTimeBuild)' != 'true' OR '$(BuildingProject)' == 'true'">$([System.DateTime]::op_Subtraction($([System.DateTime]::get_Now().get_Date()),$([System.DateTime]::new(2000,1,1))).get_TotalDays())</Build>
<Revision Condition="'$(DesignTimeBuild)' != 'true' OR '$(BuildingProject)' == 'true'">$([MSBuild]::Divide($([System.DateTime]::get_Now().get_TimeOfDay().get_TotalSeconds()), 2).ToString('F0'))</Revision>
<Version Condition="'$(DesignTimeBuild)' != 'true' OR '$(BuildingProject)' == 'true'">7.4.$(Build).$(Revision)</Version>
<Version Condition="'$(DesignTimeBuild)' != 'true' OR '$(BuildingProject)' == 'true'">7.5.$(Build).$(Revision)</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Bcl.HashCode" />
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,4 +358,4 @@ contributing.
## License

This project is licensed under the [MIT License](LICENSE).
Copyright © 2025 [improvGroup, LLC](https://github.com/improvgroup) and contributors.
Copyright © 2026 [improvGroup, LLC](https://github.com/improvgroup) and contributors.
Loading