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

Update to use .NET 8 #73

Merged
merged 3 commits into from
Apr 19, 2024
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
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
- name: Setup .NET SDK
uses: actions/[email protected]
with:
dotnet-version: |
7.0.x
6.0.x
dotnet-version: 8.0.x
- name: Build
run: dotnet build src --configuration Release
- name: Tests
Expand All @@ -51,10 +49,10 @@ jobs:
if: startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-20.04
steps:
- name: Setup .NET 6
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Download artifacts
uses: actions/[email protected]
with:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/run-markdownsnippets.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: MarkdownSnippets
on:
push:
branches:
- '**'
tags-ignore:
- '*.*'
workflow_dispatch:
jobs:
documentation:
name: Process documentation
Expand All @@ -28,4 +24,4 @@ jobs:
remote="https://${GITHUB_ACTOR}:${{secrets.GITHUB_TOKEN}}@github.com/${GITHUB_REPOSITORY}.git"
branch="${GITHUB_REF:11}"
git push "${remote}" ${branch} || echo "nothing to push"
shell: bash
shell: bash
2 changes: 1 addition & 1 deletion src/Sample/Sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down