diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c211b0c..ad7dfd5 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,3 +15,11 @@ updates: commit-message: prefix: "Chore(deps): " include: "scope" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + commit-message: + prefix: "Chore(deps): " + include: "scope" diff --git a/.github/workflows/onPullRequest-TestDotnet.yml b/.github/workflows/onPullRequest-TestDotnet.yml index 5afb661..39ba5c1 100644 --- a/.github/workflows/onPullRequest-TestDotnet.yml +++ b/.github/workflows/onPullRequest-TestDotnet.yml @@ -20,10 +20,10 @@ jobs: dotnet-version: '9.x' - name: Restore dependencies - run: dotnet restore CodeOfChaos.GeneratorTools.sln + run: dotnet restore CodeOfChaos.GeneratorTools.slnx - name: Build - run: dotnet build CodeOfChaos.GeneratorTools.sln --configuration Release --no-restore -p:GeneratePackageOnBuild=false -p:IsPackable=false + run: dotnet build CodeOfChaos.GeneratorTools.slnx --configuration Release --no-restore -p:GeneratePackageOnBuild=false -p:IsPackable=false - name: Run tests - run: dotnet test CodeOfChaos.GeneratorTools.sln --configuration Release --no-restore --no-build + run: dotnet test --solution CodeOfChaos.GeneratorTools.slnx --configuration Release --no-restore --no-build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3fa675e..7c4c20c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,15 +21,15 @@ jobs: dotnet-version: '9.x' - name: Restore dependencies - run: dotnet restore CodeOfChaos.GeneratorTools.sln + run: dotnet restore CodeOfChaos.GeneratorTools.slnx - name: Build - run: dotnet build CodeOfChaos.GeneratorTools.sln --configuration Release --no-restore + run: dotnet build CodeOfChaos.GeneratorTools.slnx --configuration Release --no-restore # Ensure that the tests must pass # The job will fail automatically if any test fails because `dotnet test` exits with a non-zero code - name: Run tests - Extensions - run: dotnet test CodeOfChaos.GeneratorTools.sln -c Release --no-restore --no-build + run: dotnet test --solution CodeOfChaos.GeneratorTools.slnx -c Release --no-restore --no-build - name: Publish to NuGet env: diff --git a/CodeOfChaos.GeneratorTools.slnx b/CodeOfChaos.GeneratorTools.slnx new file mode 100644 index 0000000..7e072fa --- /dev/null +++ b/CodeOfChaos.GeneratorTools.slnx @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/global.json b/global.json new file mode 100644 index 0000000..802ab21 --- /dev/null +++ b/global.json @@ -0,0 +1,5 @@ +{ + "test": { + "runner": "Microsoft.Testing.Platform" + } +} \ No newline at end of file diff --git a/tests/Tests.CodeOfChaos.GeneratorTools/Tests.CodeOfChaos.GeneratorTools.csproj b/tests/Tests.CodeOfChaos.GeneratorTools/Tests.CodeOfChaos.GeneratorTools.csproj index 2523548..1f991fe 100644 --- a/tests/Tests.CodeOfChaos.GeneratorTools/Tests.CodeOfChaos.GeneratorTools.csproj +++ b/tests/Tests.CodeOfChaos.GeneratorTools/Tests.CodeOfChaos.GeneratorTools.csproj @@ -18,7 +18,7 @@ - +