Skip to content

Commit

Permalink
chore: bump dotnet to v9; bump gh actions (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
pviotti authored Nov 24, 2024
1 parent 8fccbf2 commit 8bb9111
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
dotnet-version: '9.x'

- name: Build and test
run: dotnet test -p:CollectCoverage=true -c Debug -o sayit-${{ matrix.os }}-${{ github.sha }}

- name: Upload debug artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sayit-${{ matrix.os }}-${{ github.sha }}
path: sayit-${{ matrix.os }}-${{ github.sha }}
Expand All @@ -47,12 +47,12 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
dotnet-version: '9.x'

- name: Set version variable (Linux and MacOS)
if: matrix.config.id != 'win'
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
Compress-Archive -Path sayit-${{ env.VER }}-${{ matrix.config.id }}-sc -DestinationPath sayit-${{ env.VER }}-${{ matrix.config.id }}-sc.zip
- name: Create draft release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
draft: true
files: ./*.zip
Expand Down
2 changes: 1 addition & 1 deletion SayIt.Tests/SayIt.Tests.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>

<IsPackable>false</IsPackable>
<IsPublishable>false</IsPublishable>
Expand Down
2 changes: 1 addition & 1 deletion SayIt/SayIt.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net9.0</TargetFramework>
<Version>1.5.0</Version>
<OtherFlags>--deterministic+</OtherFlags>
</PropertyGroup>
Expand Down

0 comments on commit 8bb9111

Please sign in to comment.