Skip to content

Commit 36fda9a

Browse files
authored
Merge pull request #18 from qsharp-community/master
Bring to dynamic
2 parents 86a0571 + 98e8e89 commit 36fda9a

File tree

5 files changed

+29
-19
lines changed

5 files changed

+29
-19
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2121
- uses: actions/checkout@v2
2222
# https://stackoverflow.com/questions/57889719/how-to-push-nuget-package-in-github-actions
23-
- name: "Setup .NET Core @ Latest"
24-
uses: actions/setup-dotnet@v1
23+
- name: Setup .NET
24+
uses: actions/setup-dotnet@v3
2525
with:
26-
dotnet-version: '3.1.101' #https://github.com/NuGet/Home/issues/3406 Went to a patch version that seems to work
27-
source-url: https://nuget.pkg.github.com/qsharp-community/index.json
26+
dotnet-version: '8.0.x'
27+
source-url: https://nuget.pkg.github.com/qsharp-community/index.json
2828
env:
2929
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
3030

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v2
16-
- name: Setup .NET Core
17-
uses: actions/setup-dotnet@v1
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v3
1818
with:
19-
dotnet-version: 3.1.101
19+
dotnet-version: '8.0.x'
2020
- name: Install dependencies
2121
run: dotnet restore
2222
- name: Build

sample/Sample.csproj

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<Project Sdk="Microsoft.Quantum.Sdk/0.18.2107153439">
1+
<Project Sdk="Microsoft.Quantum.Sdk/0.28.302812">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net8.0</TargetFramework>
66
<DefaultSimulator>QSharpCommunity.Simulators.Chp.StabilizerSimulator</DefaultSimulator>
77
<Platforms>AnyCPU;x64</Platforms>
88
</PropertyGroup>
@@ -11,4 +11,9 @@
1111
<ProjectReference Include="../src/ChpSimulator.csproj" />
1212
</ItemGroup>
1313

14+
<ItemGroup>
15+
<PackageReference Update="Microsoft.Quantum.QSharp.Core" Version="0.28.302812" />
16+
<PackageReference Update="Microsoft.Quantum.Standard" Version="0.28.302812" />
17+
</ItemGroup>
18+
1419
</Project>

src/ChpSimulator.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Platforms>AnyCPU;x64</Platforms>
66
</PropertyGroup>
77

@@ -14,8 +14,8 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.18.2107153439" />
18-
<PackageReference Include="Microsoft.Quantum.IQSharp.Jupyter" Version="0.18.2107153439" />
17+
<PackageReference Include="Microsoft.Quantum.Simulators" Version="0.28.302812" />
18+
<PackageReference Include="Microsoft.Quantum.IQSharp.Jupyter" Version="0.28.302812" />
1919
</ItemGroup>
2020

2121
<!--For more info on the package properties check out https://docs.microsoft.com/en-us/dotnet/core/tools/csproj#nuget-metadata-properties -->

test/ChpSimulator.Test.csproj

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
<Project Sdk="Microsoft.Quantum.Sdk/0.18.2107153439">
1+
<Project Sdk="Microsoft.Quantum.Sdk/0.28.302812">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<Platforms>AnyCPU;x64</Platforms>
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.18.2107153439" />
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
12-
<PackageReference Include="xunit" Version="2.4.1" />
13-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.2">
10+
<PackageReference Include="Microsoft.Quantum.Xunit" Version="0.28.302812" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
12+
<PackageReference Include="xunit" Version="2.9.2" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
@@ -21,4 +21,9 @@
2121
<ProjectReference Include="..\src\ChpSimulator.csproj" />
2222
</ItemGroup>
2323

24+
<ItemGroup>
25+
<PackageReference Update="Microsoft.Quantum.QSharp.Core" Version="0.28.302812" />
26+
<PackageReference Update="Microsoft.Quantum.Standard" Version="0.28.302812" />
27+
</ItemGroup>
28+
2429
</Project>

0 commit comments

Comments
 (0)