From 3848615d3e6f98fec23d40097b7c199168b97af7 Mon Sep 17 00:00:00 2001 From: Ivan Novikov Date: Sun, 10 Sep 2023 15:57:51 +0300 Subject: [PATCH] Removed global.json & changed workflow --- .github/workflows/dotnet.yml | 12 +++++------- README.md | 2 +- SharedAssemblyInfo.cs | 25 ------------------------- global.json | 5 ----- 4 files changed, 6 insertions(+), 38 deletions(-) delete mode 100644 SharedAssemblyInfo.cs delete mode 100644 global.json diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 78fcff8..d13b062 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -11,14 +11,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: | 6.0.x 7.0.x - include-prerelease: true - name: Restore dependencies run: dotnet restore - name: Build @@ -33,12 +32,11 @@ jobs: if: github.ref == 'refs/heads/main' && github.event_name == 'push' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup .NET - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: - dotnet-version: '7.0.203' - include-prerelease: true + dotnet-version: '7.0.x' - name: Restore dependencies run: dotnet restore - name: Build NuGet diff --git a/README.md b/README.md index b9cb9b3..7b7853f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Library for managing DbContext the right way with [Entity Framework Core](https: [![NuGet version (Slant.Entity)](https://img.shields.io/nuget/v/Slant.Entity.svg?style=flat-square)](https://www.nuget.org/packages/Slant.Entity/) [![NuGet](https://img.shields.io/nuget/dt/Slant.Entity.svg)](https://www.nuget.org/packages/Slant.Entity) ![Build Status](https://github.com/jonnynovikov/Slant.Entity/actions/workflows/dotnet.yml/badge.svg) -[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/jonnynovikov/Slant.Entity/master/LICENSE.txt) +[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.txt) ## Overview diff --git a/SharedAssemblyInfo.cs b/SharedAssemblyInfo.cs deleted file mode 100644 index 8b3fca3..0000000 --- a/SharedAssemblyInfo.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System.Reflection; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. - -[assembly: AssemblyCompany("Amiforus")] -[assembly: AssemblyProduct("Slant")] -[assembly: AssemblyCopyright("Copyright (c) 2016 Slant Development Teams")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] - -[assembly: AssemblyVersion("1.0.0")] -[assembly: AssemblyFileVersion("1.0.0")] \ No newline at end of file diff --git a/global.json b/global.json deleted file mode 100644 index 0f11ff6..0000000 --- a/global.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "sdk": { - "version": "7.0.203" - } -} \ No newline at end of file