diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index d04f532..84a38ca 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -17,6 +17,9 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: 9.0.x + + - name: Run tests + run: dotnet test - name: Run publish script run: ./publish-nix.sh @@ -25,13 +28,13 @@ jobs: uses: actions/upload-artifact@v4 with: name: 'Nuget Package' - path: '*.nupkg' + path: "*.nupkg,*.snupkg" - name: Upload to rolling uses: ncipollo/release-action@v1.14.0 with: allowUpdates: True - artifacts: '*.nupkg' + artifacts: "*.nupkg,*.snupkg" body: 'Last built commit: ${{ github.sha }}' name: 'Rolling Release' prerelease: True diff --git a/.github/workflows/check_pr.yml b/.github/workflows/check_pr.yml index fad7fe2..b152072 100644 --- a/.github/workflows/check_pr.yml +++ b/.github/workflows/check_pr.yml @@ -14,4 +14,7 @@ jobs: dotnet-version: 9.0.x - name: Build - run: dotnet build \ No newline at end of file + run: dotnet build + + - name: Run tests + run: dotnet test diff --git a/SabreTools.Models/SabreTools.Models.csproj b/SabreTools.Models/SabreTools.Models.csproj index 35de1f6..6cbcf38 100644 --- a/SabreTools.Models/SabreTools.Models.csproj +++ b/SabreTools.Models/SabreTools.Models.csproj @@ -3,9 +3,11 @@ net20;net35;net40;net452;net462;net472;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0 + true latest CS0618 enable + snupkg true 1.5.7