Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename AndcultureCode.CSharp to RSM.HCD.CSharp #58

Merged
merged 5 commits into from
May 13, 2024
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
2 changes: 1 addition & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@
}
],
"contributorsPerLine": 7,
"projectName": "AndcultureCode.CSharp",
"projectName": "RSM.HCD.CSharp",
"projectOwner": "AndcultureCode",
"repoType": "github",
"repoHost": "https://github.com",
Expand Down
45 changes: 3 additions & 42 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,18 @@ on:
branches: [main]
workflow_dispatch:

env:
SLACK_BOT_TOKEN: ${{secrets.SLACK_BOT_TOKEN}}

jobs:
notify_start:
runs-on: ubuntu-latest
steps:
- uses: voxmedia/github-action-slack-notify-build@v1
if: env.SLACK_BOT_TOKEN != ''
with:
channel: company-andculture-code-ci
color: "#3278BD"
status: STARTED

build:
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
runs-on: windows-latest
needs: [notify_start]
if: always()

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

- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v1.7.2
uses: actions/setup-dotnet@v4
with:
dotnet-version: 3.1

Expand All @@ -46,28 +31,4 @@ jobs:
dotnet test -p:CollectCoverage=true -p:CoverletOutputFormat=opencover -p:Threshold=0

- name: Upload to codecov
uses: codecov/codecov-action@v1

notify_success:
runs-on: ubuntu-latest
needs: [build]
if: success()
steps:
- uses: voxmedia/github-action-slack-notify-build@v1
if: env.SLACK_BOT_TOKEN != ''
with:
channel: company-andculture-code-ci
color: good
status: SUCCESS

notify_failure:
runs-on: ubuntu-latest
needs: [build]
if: failure()
steps:
- uses: voxmedia/github-action-slack-notify-build@v1
if: env.SLACK_BOT_TOKEN != ''
with:
channel: company-andculture-code-ci
color: danger
status: FAILED
uses: codecov/codecov-action@v4
30 changes: 0 additions & 30 deletions .github/workflows/notify.yaml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Check github.ref starts with 'refs/tags/'
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
run: |
Expand All @@ -27,29 +27,29 @@ jobs:
version="${github_ref:10}"
echo version=$version
echo "version=$version" >> $GITHUB_ENV
- name: Setup .NET Core 3.1 SDK
uses: actions/setup-dotnet@v1
- name: Setup .NET Core 6 SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: "3.1.x"
source-url: https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}
NUGET_RSM_AUTH_TOKEN: ${{secrets.NUGET_RSM_AUTH_TOKEN}}
- name: Install dependencies
run: dotnet restore
- name: Build solution [Release]
run: dotnet build --no-restore -c Release -p:Version=$version
- name: Pack solution [Release]
run: dotnet pack --no-restore --no-build -c Release -p:Version=$version -o out
- name: Upload Nuget packages as workflow artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Nuget packages
path: |
out/*
- name: Publish Nuget packages to Nuget registry
run: dotnet nuget push "out/*" -k ${{secrets.NUGET_AUTH_TOKEN}}
run: dotnet nuget push "out/*" -k ${{secrets.NUGET_RSM_AUTH_TOKEN}}
- name: Upload Nuget packages as release artifacts
uses: actions/github-script@v5
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down
16 changes: 8 additions & 8 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/test/AndcultureCode.CSharp.Core.Tests/bin/Debug/netcoreapp2.2/AndcultureCode.CSharp.Core.Tests.dll",
"program": "${workspaceFolder}/test/RSM.HCD.CSharp.Core.Tests/bin/Debug/netcoreapp2.2/RSM.HCD.CSharp.Core.Tests.dll",
"args": [],
"cwd": "${workspaceFolder}/test/AndcultureCode.CSharp.Core.Tests",
"cwd": "${workspaceFolder}/test/RSM.HCD.CSharp.Core.Tests",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
Expand All @@ -23,9 +23,9 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/test/AndcultureCode.CSharp.Extensions.Tests/bin/Debug/netcoreapp2.2/AndcultureCode.CSharp.Extensions.Tests.dll",
"program": "${workspaceFolder}/test/RSM.HCD.CSharp.Extensions.Tests/bin/Debug/netcoreapp2.2/RSM.HCD.CSharp.Extensions.Tests.dll",
"args": [],
"cwd": "${workspaceFolder}/test/AndcultureCode.CSharp.Extensions.Tests",
"cwd": "${workspaceFolder}/test/RSM.HCD.CSharp.Extensions.Tests",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
Expand All @@ -36,9 +36,9 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/test/AndcultureCode.CSharp.Testing.Tests/bin/Debug/netcoreapp2.2/AndcultureCode.CSharp.Testing.Tests.dll",
"program": "${workspaceFolder}/test/RSM.HCD.CSharp.Testing.Tests/bin/Debug/netcoreapp2.2/RSM.HCD.CSharp.Testing.Tests.dll",
"args": [],
"cwd": "${workspaceFolder}/test/AndcultureCode.CSharp.Testing.Tests",
"cwd": "${workspaceFolder}/test/RSM.HCD.CSharp.Testing.Tests",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
Expand All @@ -49,9 +49,9 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/test/AndcultureCode.CSharp.Conductors.Tests/bin/Debug/netcoreapp2.2/AndcultureCode.CSharp.Conductors.Tests.dll",
"program": "${workspaceFolder}/test/RSM.HCD.CSharp.Conductors.Tests/bin/Debug/netcoreapp2.2/RSM.HCD.CSharp.Conductors.Tests.dll",
"args": [],
"cwd": "${workspaceFolder}/test/AndcultureCode.CSharp.Conductors.Tests",
"cwd": "${workspaceFolder}/test/RSM.HCD.CSharp.Conductors.Tests",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
Expand Down
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"omnisharp.autoStart": true,
"omnisharp.organizeImportsOnFormat": true,
"omnisharp.enableEditorConfigSupport": true,
"omnisharp.enableImportCompletion": true,
"omnisharp.enableRoslynAnalyzers": true,
"csharp.format.enable": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
Expand All @@ -29,5 +28,6 @@
"prettier.requireConfig": true,
"trailing-spaces.trimOnSave": true,
"typescript.preferences.quoteStyle": "double",
"typescript.tsdk": "./frontend/node_modules/typescript/lib"
"typescript.tsdk": "./frontend/node_modules/typescript/lib",
"dotnet.completion.showCompletionItemsFromUnimportedNamespaces": true
}
24 changes: 12 additions & 12 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"type": "process",
"args": [
"build",
"${workspaceFolder}/test/AndcultureCode.CSharp.Core.Tests/AndcultureCode.CSharp.Core.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Core.Tests/RSM.HCD.CSharp.Core.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -19,7 +19,7 @@
"type": "process",
"args": [
"publish",
"${workspaceFolder}/test/AndcultureCode.CSharp.Core.Tests/AndcultureCode.CSharp.Core.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Core.Tests/RSM.HCD.CSharp.Core.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -32,7 +32,7 @@
"args": [
"watch",
"run",
"${workspaceFolder}/test/AndcultureCode.CSharp.Core.Tests/AndcultureCode.CSharp.Core.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Core.Tests/RSM.HCD.CSharp.Core.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -44,7 +44,7 @@
"type": "process",
"args": [
"build",
"${workspaceFolder}/test/AndcultureCode.CSharp.Extensions.Tests/AndcultureCode.CSharp.Extensions.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Extensions.Tests/RSM.HCD.CSharp.Extensions.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -56,7 +56,7 @@
"type": "process",
"args": [
"publish",
"${workspaceFolder}/test/AndcultureCode.CSharp.Extensions.Tests/AndcultureCode.CSharp.Extensions.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Extensions.Tests/RSM.HCD.CSharp.Extensions.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -69,7 +69,7 @@
"args": [
"watch",
"run",
"${workspaceFolder}/test/AndcultureCode.CSharp.Extensions.Tests/AndcultureCode.CSharp.Extensions.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Extensions.Tests/RSM.HCD.CSharp.Extensions.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -81,7 +81,7 @@
"type": "process",
"args": [
"build",
"${workspaceFolder}/test/AndcultureCode.CSharp.Testing.Tests/AndcultureCode.CSharp.Testing.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Testing.Tests/RSM.HCD.CSharp.Testing.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -93,7 +93,7 @@
"type": "process",
"args": [
"publish",
"${workspaceFolder}/test/AndcultureCode.CSharp.Testing.Tests/AndcultureCode.CSharp.Testing.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Testing.Tests/RSM.HCD.CSharp.Testing.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -106,7 +106,7 @@
"args": [
"watch",
"run",
"${workspaceFolder}/test/AndcultureCode.CSharp.Testing.Tests/AndcultureCode.CSharp.Testing.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Testing.Tests/RSM.HCD.CSharp.Testing.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -118,7 +118,7 @@
"type": "process",
"args": [
"build",
"${workspaceFolder}/test/AndcultureCode.CSharp.Conductors.Tests/AndcultureCode.CSharp.Conductors.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Conductors.Tests/RSM.HCD.CSharp.Conductors.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -130,7 +130,7 @@
"type": "process",
"args": [
"publish",
"${workspaceFolder}/test/AndcultureCode.CSharp.Conductors.Tests/AndcultureCode.CSharp.Conductors.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Conductors.Tests/RSM.HCD.CSharp.Conductors.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand All @@ -143,7 +143,7 @@
"args": [
"watch",
"run",
"${workspaceFolder}/test/AndcultureCode.CSharp.Conductors.Tests/AndcultureCode.CSharp.Conductors.Tests.csproj",
"${workspaceFolder}/test/RSM.HCD.CSharp.Conductors.Tests/RSM.HCD.CSharp.Conductors.Tests.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
How to Contribute
======
Information on contributing to this repo is in the [Contributing Guide](https://github.com/AndcultureCode/AndcultureCode/blob/master/CONTRIBUTING.md) in the Home repo.
# How to Contribute

Information on contributing to this repo is in the [Contributing Guide](https://github.com/rsm-hcd/AndcultureCode/blob/master/CONTRIBUTING.md) in the Home repo.
8 changes: 4 additions & 4 deletions Directoy.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<VersionPrefix>2.0.0-preview</VersionPrefix>
<LangVersion>latest</LangVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIconUrl>https://github.com/AndcultureCode/AndcultureCode/blob/main/assets/andculture-glyph%402x.png</PackageIconUrl>
<PackageIcon>andculture-glyph@2x.png</PackageIcon>
<PackageIconUrl>https://github.com/rsm-hcd/AndcultureCode/blob/main/assets/RSM-Logo.png</PackageIconUrl>
<PackageIcon>RSM-Logo.png</PackageIcon>
<Copyright>andculture</Copyright>
<Authors>andculture</Authors>
<Company>andculture</Company>
Expand All @@ -27,12 +27,12 @@
</PropertyGroup>

<ItemGroup>
<None Include="assets\images\andculture-glyph@2x.png" Pack="true" PackagePath=""/>
<None Include="assets\images\RSM-Logo.png" Pack="true" PackagePath=""/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" Condition="'$(IsPackable)' == 'true'"/>
<PackageReference Include="Vsxmd" Version="1.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>

</Project>
</Project>
Loading
Loading