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