From 11538da4938d08d38da49c9ae932183c42162e98 Mon Sep 17 00:00:00 2001 From: MrDave1999 Date: Fri, 1 Dec 2023 14:10:24 -0500 Subject: [PATCH] Update workflow --- .github/workflows/dotnetcore.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index c8bb527..36e76b7 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -13,14 +13,16 @@ jobs: strategy: matrix: os: [windows-latest, ubuntu-latest, macOS-latest] - dotnet: [7.0.403] + dotnet-version: ['7.0.x'] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v1 - - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + - uses: actions/checkout@v4 + - name: Setup dotnet ${{ matrix.dotnet-version }} + uses: actions/setup-dotnet@v3 with: - dotnet-version: ${{matrix.dotnet}} + dotnet-version: ${{ matrix.dotnet-version }} + - name: Display dotnet version + run: dotnet --version - name: Test run: | dotnet test ./tests/CPlugin.Net/CPlugin.Net.Tests.csproj \ No newline at end of file