diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 29a9dd6..e0df6e4 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -21,10 +21,14 @@ jobs: targetFramework: net9.0 steps: - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v4 # Latest version is always required + with: + dotnet-version: 9.x + dotnet-quality: preview - uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ matrix.dotnetVersion }} dotnet-quality: preview - - run: dotnet build DacFx.sln -f ${{ matrix.targetFramework }} - - run: dotnet pack DacFx.sln --no-build -f ${{ matrix.targetFramework }} + - run: dotnet build DacFx.sln + - run: dotnet pack DacFx.sln --no-build - run: dotnet test DacFx.sln --no-build -f ${{ matrix.targetFramework }} \ No newline at end of file