diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1496817..33de8f8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,28 +1,28 @@ -# This workflow will build a .NET project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net - name: .NET build on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Setup .NET - uses: actions/setup-dotnet@v3 - with: - dotnet-version: 6.0.x - - name: Restore dependencies - run: dotnet restore - - name: Build - run: dotnet build --no-restore - - name: Test - run: dotnet test --no-build --verbosity normal + - uses: actions/checkout@v4 + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 10.0.x + + - name: Restore dependencies + run: dotnet restore + + - name: Build + run: dotnet build --no-restore --configuration Release + + - name: Test + run: dotnet test --no-build --configuration Release --verbosity normal diff --git a/Alligator.Benchmark/Alligator.Benchmark.csproj b/Alligator.Benchmark/Alligator.Benchmark.csproj index ea0c08a..c74effb 100644 --- a/Alligator.Benchmark/Alligator.Benchmark.csproj +++ b/Alligator.Benchmark/Alligator.Benchmark.csproj @@ -1,8 +1,8 @@ - + Exe - net6.0 + net10.0 enable enable diff --git a/Alligator.Demo/Alligator.Demo.csproj b/Alligator.Demo/Alligator.Demo.csproj index 17cad9b..71357ef 100644 --- a/Alligator.Demo/Alligator.Demo.csproj +++ b/Alligator.Demo/Alligator.Demo.csproj @@ -1,8 +1,8 @@ - + Exe - net6.0 + net10.0 enable enable diff --git a/Alligator.SixMaking/Alligator.SixMaking.csproj b/Alligator.SixMaking/Alligator.SixMaking.csproj index 94d7d05..49a353c 100644 --- a/Alligator.SixMaking/Alligator.SixMaking.csproj +++ b/Alligator.SixMaking/Alligator.SixMaking.csproj @@ -1,8 +1,8 @@ - + Exe - net6.0 + net10.0 enable enable diff --git a/Alligator.Solver/Alligator.Solver.csproj b/Alligator.Solver/Alligator.Solver.csproj index 132c02c..b760144 100644 --- a/Alligator.Solver/Alligator.Solver.csproj +++ b/Alligator.Solver/Alligator.Solver.csproj @@ -1,7 +1,7 @@ - + - net6.0 + net10.0 enable enable diff --git a/Alligator.Test/Alligator.Test.csproj b/Alligator.Test/Alligator.Test.csproj index 84534d3..c1d895d 100644 --- a/Alligator.Test/Alligator.Test.csproj +++ b/Alligator.Test/Alligator.Test.csproj @@ -1,7 +1,7 @@ - + - net6.0 + net10.0 enable enable @@ -9,10 +9,13 @@ - - - - + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + diff --git a/Alligator.TicTacToe/Alligator.TicTacToe.csproj b/Alligator.TicTacToe/Alligator.TicTacToe.csproj index 3650f33..f242054 100644 --- a/Alligator.TicTacToe/Alligator.TicTacToe.csproj +++ b/Alligator.TicTacToe/Alligator.TicTacToe.csproj @@ -1,7 +1,7 @@ - + - net6.0 + net10.0 enable enable