Skip to content

Commit

Permalink
Minor Refactoring (#1076)
Browse files Browse the repository at this point in the history
- Remove unnecessary whitespace.
- Fix indentation.
- Update System.Memory to latest.
  • Loading branch information
H1Gdev authored Aug 27, 2023
1 parent bc4d7d6 commit 4df54b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,12 @@ jobs:
id: cache
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget }}
key: ${{ runner.os }}-nuget }}
- name: Setup .NET 3.1 SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
include-prerelease: false
dotnet-version: 3.1.x
include-prerelease: false
- name: Restore NuGet Packages
if: steps.cache.outputs.cache-hit != 'true'
run: |
Expand Down Expand Up @@ -67,8 +66,7 @@ jobs:
- name: Setup .NET 3.1 SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
3.1.x
dotnet-version: 3.1.x
include-prerelease: false
- name: Restore NuGet Packages
if: steps.cache.outputs.cache-hit != 'true'
Expand Down
6 changes: 3 additions & 3 deletions Source/Svg.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@
<PackageReference Include="System.Drawing.Common" Version="5.0.3" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'net462'">
<PackageReference Include="System.Memory" Version="4.5.4" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' Or '$(TargetFramework)' == 'net462'">
<PackageReference Include="System.Memory" Version="4.5.5" />
</ItemGroup>

<!-- Mac specific include -->

Expand Down

0 comments on commit 4df54b3

Please sign in to comment.