Skip to content

Commit b249a91

Browse files
committed
Fixed build, updated deps
1 parent 58393d2 commit b249a91

File tree

4 files changed

+18
-17
lines changed

4 files changed

+18
-17
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,23 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout
9-
uses: actions/checkout@v1
9+
uses: actions/checkout@v2
1010
with:
1111
fetch-depth: 0
1212
- name: Setup .NET Core
1313
uses: actions/setup-dotnet@v1
1414
with:
15-
dotnet-version: 3.1.302
15+
dotnet-version: 5.0.x
1616
- name: Build Reason
1717
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
1818
- name: Build Version
1919
run: |
20-
dotnet tool install --global minver-cli --version 2.3.0
20+
dotnet tool install --global minver-cli --version 2.5.0
2121
version=$(minver --tag-prefix v)
22-
echo "::set-env name=MINVERVERSIONOVERRIDE::$version"
22+
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
23+
echo "VERSION=$version" >> $GITHUB_ENV
2324
- name: Build
2425
run: dotnet build --configuration Release
25-
- name: Start Services
26-
run: docker-compose up -d && docker-compose up ready
2726
- name: Run Tests
2827
run: dotnet test --configuration Release --no-build
2928
- name: Package
@@ -37,7 +36,7 @@ jobs:
3736
run: |
3837
for package in $(find -name "*.nupkg" | grep "minver" -v); do
3938
echo "${0##*/}": Pushing $package...
40-
39+
4140
# GitHub
4241
gpr push $package -k ${{ secrets.GITHUB_TOKEN }} || true
4342

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Exceptionless.RandomData
2+
23
[![Build status](https://github.com/Exceptionless/Exceptionless.RandomData/workflows/Build/badge.svg)](https://github.com/Exceptionless/Exceptionless.RandomData/actions)
34
[![NuGet Version](http://img.shields.io/nuget/v/Exceptionless.RandomData.svg?style=flat)](https://www.nuget.org/packages/Exceptionless.RandomData/)
4-
[![Slack Status](https://slack.exceptionless.com/badge.svg)](https://slack.exceptionless.com)
5+
[![Discord](https://img.shields.io/discord/715744504891703319)](https://discord.gg/6HxgFCx)
6+
[![Donate](https://img.shields.io/badge/donorbox-donate-blue.svg)](https://donorbox.org/exceptionless?recurring=true)
57

68
Utility class to easily generate random data. This makes generating good unit test data a breeze!
79

@@ -27,7 +29,7 @@ private enum _days {
2729
int value = RandomData.GetInt(1, 5);
2830
// or
2931
value = _numbers.Random();
30-
32+
3133
var day = RandomData.GetEnum<_days>();
3234
```
3335

build/common.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<PackageTags>Random;Data;Generator;Test</PackageTags>
1010
<MinVerSkip Condition="'$(Configuration)' == 'Debug'">true</MinVerSkip>
1111
<MinVerTagPrefix>v</MinVerTagPrefix>
12-
13-
<Copyright>Copyright (c) 2020 Exceptionless. All rights reserved.</Copyright>
12+
13+
<Copyright>Copyright (c) 2021 Exceptionless. All rights reserved.</Copyright>
1414
<Authors>Exceptionless</Authors>
1515
<NoWarn>$(NoWarn);CS1591;NU1701</NoWarn>
1616
<WarningsAsErrors>true</WarningsAsErrors>
@@ -32,13 +32,13 @@
3232

3333
<ItemGroup>
3434
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
35-
<PackageReference Include="AsyncFixer" Version="1.3.0" PrivateAssets="All" />
36-
<PackageReference Include="MinVer" Version="2.3.0" PrivateAssets="All" />
35+
<PackageReference Include="AsyncFixer" Version="1.5.1" PrivateAssets="All" />
36+
<PackageReference Include="MinVer" Version="2.5.0" PrivateAssets="All" />
3737
</ItemGroup>
3838

3939
<ItemGroup>
4040
<None Include="../../LICENSE.txt" Pack="true" Visible="false" PackagePath="$(PackageLicenseFile)" />
4141
<None Include="../../build/exceptionless-icon.png" Pack="true" PackagePath="$(PackageIcon)" />
4242
</ItemGroup>
43-
43+
4444
</Project>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<Import Project="..\..\build\common.props" />
33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<IsPackable>False</IsPackable>
66
</PropertyGroup>
77
<ItemGroup>
88
<ProjectReference Include="..\..\src\Exceptionless.RandomData\Exceptionless.RandomData.csproj" />
99
</ItemGroup>
1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.0" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
1212
<PackageReference Include="xunit" Version="2.4.1" />
1313
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
14-
<PackageReference Include="Foundatio.Xunit" Version="10.0.0-beta8" />
14+
<PackageReference Include="Foundatio.Xunit" Version="10.2.1" />
1515
</ItemGroup>
1616
</Project>

0 commit comments

Comments
 (0)