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

Bump HIC.FAnsiSql from 2.0.5 to 3.0.0 #153

Merged
merged 8 commits into from
Aug 29, 2022
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
35 changes: 13 additions & 22 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,30 @@ env:
jobs:
build:

runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

steps:
- name: Disable disk flush for CI
run: sudo apt-get install -y libeatmydata1
- uses: actions/checkout@v3
- name: Setup .NET Core
uses: actions/setup-dotnet@v2
with:
dotnet-version: 5.x
- uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Add MSFT code signing key
run: wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
- name: Add MSFT package repo
run: sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/18.04/mssql-server-2019.list)"
dotnet-version: 6.0.x
- name: MySQL
run: |
sudo mkdir -p /var/run/mysqld
sudo chown mysql:mysql /var/run/mysqld
sudo mysqld_safe --port=3306 --skip-grant-tables &
sudo systemctl start mysql.service
sed -i'' -e 's/Pwd=;sslmode=None/Pwd=root;AllowPublicKeyRetrieval=true/' DicomTypeTranslation.Tests/TestDatabases.xml
- name: Install Sql Server
run: sudo apt-get install -y --no-install-recommends postgresql mssql-tools mssql-server
- name: Configure Sql Server
run: sudo -E /opt/mssql/bin/mssql-conf -n setup accept-eula
- name: Install dependencies
run: dotnet restore
run: |
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo add-apt-repository "$(wget -qO- https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2019.list)"
sudo apt-get install -y --no-install-recommends postgresql mssql-tools mssql-server
sudo -E /opt/mssql/bin/mssql-conf -n setup accept-eula
- name: Build
run: dotnet build --configuration Release --no-restore
run: dotnet build --configuration Release --nologo
- name: Test
run: dotnet test --no-restore --verbosity normal
run: dotnet test --no-restore --verbosity normal --nologo
- name: Pack and push
if: contains(github.ref,'refs/tags/')
run: |
Expand Down
38 changes: 0 additions & 38 deletions .travis.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .travisignore

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>9.0</LangVersion>
<AssemblyTitle>DicomTypeTranslation.Tests</AssemblyTitle>
<Product>DicomTypeTranslation.Tests</Product>
Expand Down
4 changes: 2 additions & 2 deletions DicomTypeTranslation/DicomTypeTranslation.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.1;net6.0</TargetFrameworks>
<LangVersion>9.0</LangVersion>
<AssemblyTitle>DicomTypeTranslation</AssemblyTitle>
<Product>DicomTypeTranslation</Product>
Expand Down Expand Up @@ -31,7 +31,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="fo-dicom" Version="5.0.3" />
<PackageReference Include="HIC.FAnsiSql" Version="2.0.5" />
<PackageReference Include="HIC.FAnsiSql" Version="3.0.0" />
<PackageReference Include="MongoDB.Driver" Version="2.17.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NLog" Version="5.0.2" />
Expand Down
5 changes: 5 additions & 0 deletions lgtm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
extraction:
csharp:
index:
dotnet:
version: 6.0.400
11 changes: 0 additions & 11 deletions rakeconfig.rb

This file was deleted.

80 changes: 0 additions & 80 deletions rakefile.rb

This file was deleted.