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

Lt 5642 net8 #43

Merged
merged 2 commits into from
Sep 17, 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
26 changes: 26 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
registries:
lykke:
type: nuget-feed
url: https://nuget-lykkecloud.azurewebsites.net/nuget
public:
type: nuget-feed
url: https://api.nuget.org/v3/index.json
updates:
- package-ecosystem: "nuget"
directory: "/"
schedule:
interval: "daily"
registries: "*"
assignees:
- "tarurar"
reviewers:
- "tarurar"
allow:
- dependency-name: "Lykke.*"
- dependency-name: "LykkeBiz.*"
- dependency-name: "MarginTrading.*"
open-pull-requests-limit: 10
41 changes: 41 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: .NET

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
inputs:
configuration:
description: "Build configuration"
required: true
default: "Release"
branches:
description: "Branches to build"
required: true
default: "master"

jobs:
build:
runs-on: ubuntu-latest

steps:
- run: |
echo "Branches: ${{ github.event.inputs.branches }}"
echo "Configuration: ${{ github.event.inputs.configuration }}"
echo "Event name: ${{ github.event_name }}"
echo "Event ref: ${{ github.event.ref }}"
echo "Environment: ${{ github.event.environment }}"

- name: Checkout source code
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore
56 changes: 43 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
## Get latest from `dotnet new gitignore`

# dotenv files
.env

# User-specific files
*.rsuser
Expand Down Expand Up @@ -93,6 +96,7 @@ StyleCopReport.xml
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
Expand Down Expand Up @@ -296,6 +300,17 @@ node_modules/
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw

# Visual Studio 6 auto-generated project file (contains which files were open etc.)
*.vbp

# Visual Studio 6 workspace and project file (working project files containing files to include in project)
*.dsw
*.dsp

# Visual Studio 6 technical files
*.ncb
*.aps

# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
Expand Down Expand Up @@ -352,6 +367,9 @@ ASALocalRun/
# Local History for Visual Studio
.localhistory/

# Visual Studio History (VSHistory) files
.vshistory/

# BeatPulse healthcheck temp database
healthchecksdb

Expand All @@ -364,6 +382,28 @@ MigrationBackup/
# Fody - auto-generated XML schema
FodyWeavers.xsd

# VS Code files for those working on multiple tools
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
*.code-workspace

# Local History for Visual Studio Code
.history/

# Windows Installer files from build outputs
*.cab
*.msi
*.msix
*.msm
*.msp

# JetBrains Rider
*.sln.iml
.idea

##
## Visual studio for Mac
##
Expand Down Expand Up @@ -440,15 +480,5 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk

# JetBrains Rider
.idea/
*.sln.iml

##
## Visual Studio Code
##
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
# Vim temporary swap files
*.swp
10 changes: 10 additions & 0 deletions MarginTrading.BrokerBase.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
Microsoft Visual Studio Solution File, Format Version 12.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MarginTrading.BrokerBase", "src\MarginTrading.BrokerBase\MarginTrading.BrokerBase.csproj", "{6AF9283A-1C12-4ED5-9867-CC009A948B3D}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D69790CB-19B6-4A48-B539-A0150A88EC84}"
ProjectSection(SolutionItems) = preProject
CHANGELOG.md = CHANGELOG.md
LICENSE = LICENSE
README.md = README.md
global.json = global.json
.gitignore = .gitignore
.editorconfig = .editorconfig
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down
7 changes: 7 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"sdk": {
"version": "8.0.101",
"rollForward": "latestMinor",
"allowPrerelease": false
}
}
22 changes: 11 additions & 11 deletions src/MarginTrading.BrokerBase/MarginTrading.BrokerBase.csproj
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<AssemblyName>Lykke.MarginTrading.BrokerBase</AssemblyName>
<RootNamespace>Lykke.MarginTrading.BrokerBase</RootNamespace>
<Version>8.3.0</Version>
<LangVersion>8.0</LangVersion>
<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel>
<AspNetCoreModuleName>AspNetCoreModuleV2</AspNetCoreModuleName>
<PackageId>LykkeBiz.MarginTrading.BrokerBase</PackageId>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Lykke.Snow.Common" Version="3.0.26" />
<PackageReference Include="Lykke.Snow.Common.Startup" Version="3.15.0" />
<PackageReference Include="LykkeBiz.Common.ApiLibrary" Version="4.2.5" />
<PackageReference Include="LykkeBiz.Logs.MsSql" Version="3.1.0" />
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="9.0.0" />
<PackageReference Include="Lykke.Snow.Common" Version="4.0.2" />
<PackageReference Include="Lykke.Snow.Common.Startup" Version="4.0.0" />
<PackageReference Include="LykkeBiz.Common.ApiLibrary" Version="5.0.0" />
<PackageReference Include="LykkeBiz.Logs.MsSql" Version="4.0.0" />
<PackageReference Include="LykkeBiz.Logs.Serilog" Version="3.3.3" />
<PackageReference Include="LykkeBiz.RabbitMqBroker" Version="13.6.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.31" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="5.4.1" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.4.0" />
<PackageReference Include="LykkeBiz.RabbitMqBroker" Version="14.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.7" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.7.0" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.7.0" />
</ItemGroup>
</Project>
Loading