diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..0321eeb --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,16 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "nuget" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" + allow: + - dependency-type: "all" + ignore: + - dependency-name: "*" + versions: ["*--*"] # ignore any version with a dash (i.e., pre-release) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..c62b908 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +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 + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal diff --git a/Chapter1/1-CreatingAWindow/1-CreatingAWindow.csproj b/Chapter1/1-CreatingAWindow/1-CreatingAWindow.csproj index 589a252..ae3e549 100644 --- a/Chapter1/1-CreatingAWindow/1-CreatingAWindow.csproj +++ b/Chapter1/1-CreatingAWindow/1-CreatingAWindow.csproj @@ -7,6 +7,6 @@ - + diff --git a/Chapter1/2-HelloTriangle/2-HelloTriangle.csproj b/Chapter1/2-HelloTriangle/2-HelloTriangle.csproj index e202a88..ac56561 100644 --- a/Chapter1/2-HelloTriangle/2-HelloTriangle.csproj +++ b/Chapter1/2-HelloTriangle/2-HelloTriangle.csproj @@ -11,7 +11,7 @@ - + diff --git a/Chapter1/3-ElementBufferObjects/3-ElementBufferObjects.csproj b/Chapter1/3-ElementBufferObjects/3-ElementBufferObjects.csproj index 1178095..8e22f1e 100644 --- a/Chapter1/3-ElementBufferObjects/3-ElementBufferObjects.csproj +++ b/Chapter1/3-ElementBufferObjects/3-ElementBufferObjects.csproj @@ -11,7 +11,7 @@ - + diff --git a/Chapter1/4-Shaders-InsAndOuts/4-Shaders-InsAndOuts.csproj b/Chapter1/4-Shaders-InsAndOuts/4-Shaders-InsAndOuts.csproj index 1178095..8e22f1e 100644 --- a/Chapter1/4-Shaders-InsAndOuts/4-Shaders-InsAndOuts.csproj +++ b/Chapter1/4-Shaders-InsAndOuts/4-Shaders-InsAndOuts.csproj @@ -11,7 +11,7 @@ - + diff --git a/Chapter1/4-Shaders-MoreAttributes/4-Shaders-MoreAttributes.csproj b/Chapter1/4-Shaders-MoreAttributes/4-Shaders-MoreAttributes.csproj index 1178095..8e22f1e 100644 --- a/Chapter1/4-Shaders-MoreAttributes/4-Shaders-MoreAttributes.csproj +++ b/Chapter1/4-Shaders-MoreAttributes/4-Shaders-MoreAttributes.csproj @@ -11,7 +11,7 @@ - + diff --git a/Chapter1/4-Shaders-Uniforms/4-Shaders-Uniforms.csproj b/Chapter1/4-Shaders-Uniforms/4-Shaders-Uniforms.csproj index 1178095..8e22f1e 100644 --- a/Chapter1/4-Shaders-Uniforms/4-Shaders-Uniforms.csproj +++ b/Chapter1/4-Shaders-Uniforms/4-Shaders-Uniforms.csproj @@ -11,7 +11,7 @@ - + diff --git a/Chapter1/5-Textures/5-Textures.csproj b/Chapter1/5-Textures/5-Textures.csproj index cdc6bd4..873d2a4 100644 --- a/Chapter1/5-Textures/5-Textures.csproj +++ b/Chapter1/5-Textures/5-Textures.csproj @@ -12,7 +12,7 @@ - + diff --git a/Chapter1/6-MultipleTextures/6-MultipleTextures.csproj b/Chapter1/6-MultipleTextures/6-MultipleTextures.csproj index cdc6bd4..873d2a4 100644 --- a/Chapter1/6-MultipleTextures/6-MultipleTextures.csproj +++ b/Chapter1/6-MultipleTextures/6-MultipleTextures.csproj @@ -12,7 +12,7 @@ - + diff --git a/Chapter1/7-Transformations/7-Transformations.csproj b/Chapter1/7-Transformations/7-Transformations.csproj index cdc6bd4..873d2a4 100644 --- a/Chapter1/7-Transformations/7-Transformations.csproj +++ b/Chapter1/7-Transformations/7-Transformations.csproj @@ -12,7 +12,7 @@ - + diff --git a/Chapter1/8-CoordinatesSystems/8-CoordinatesSystems.csproj b/Chapter1/8-CoordinatesSystems/8-CoordinatesSystems.csproj index cdc6bd4..873d2a4 100644 --- a/Chapter1/8-CoordinatesSystems/8-CoordinatesSystems.csproj +++ b/Chapter1/8-CoordinatesSystems/8-CoordinatesSystems.csproj @@ -12,7 +12,7 @@ - + diff --git a/Chapter1/9-Camera/9-Camera.csproj b/Chapter1/9-Camera/9-Camera.csproj index cdc6bd4..873d2a4 100644 --- a/Chapter1/9-Camera/9-Camera.csproj +++ b/Chapter1/9-Camera/9-Camera.csproj @@ -12,7 +12,7 @@ - + diff --git a/Chapter2/1-Colors/1-Colors.csproj b/Chapter2/1-Colors/1-Colors.csproj index 1bf8265..0cc39df 100644 --- a/Chapter2/1-Colors/1-Colors.csproj +++ b/Chapter2/1-Colors/1-Colors.csproj @@ -11,7 +11,7 @@ - + diff --git a/Chapter2/2-BasicLighting/2-BasicLighting.csproj b/Chapter2/2-BasicLighting/2-BasicLighting.csproj index 1bf8265..0cc39df 100644 --- a/Chapter2/2-BasicLighting/2-BasicLighting.csproj +++ b/Chapter2/2-BasicLighting/2-BasicLighting.csproj @@ -11,7 +11,7 @@ - + diff --git a/Chapter2/3-Materials/3-Materials.csproj b/Chapter2/3-Materials/3-Materials.csproj index 1bf8265..0cc39df 100644 --- a/Chapter2/3-Materials/3-Materials.csproj +++ b/Chapter2/3-Materials/3-Materials.csproj @@ -11,7 +11,7 @@ - + diff --git a/Chapter2/4-LightingMaps/4-LightingMaps.csproj b/Chapter2/4-LightingMaps/4-LightingMaps.csproj index 051e440..6e2679f 100644 --- a/Chapter2/4-LightingMaps/4-LightingMaps.csproj +++ b/Chapter2/4-LightingMaps/4-LightingMaps.csproj @@ -17,7 +17,7 @@ - + diff --git a/Chapter2/5-LightCasters-DirectionalLights/5-LightCasters-DirectionalLights.csproj b/Chapter2/5-LightCasters-DirectionalLights/5-LightCasters-DirectionalLights.csproj index 87bd235..0e92872 100644 --- a/Chapter2/5-LightCasters-DirectionalLights/5-LightCasters-DirectionalLights.csproj +++ b/Chapter2/5-LightCasters-DirectionalLights/5-LightCasters-DirectionalLights.csproj @@ -12,7 +12,7 @@ - + diff --git a/Chapter2/5-LightCasters-PointLights/5-LightCasters-PointLights.csproj b/Chapter2/5-LightCasters-PointLights/5-LightCasters-PointLights.csproj index 87bd235..0e92872 100644 --- a/Chapter2/5-LightCasters-PointLights/5-LightCasters-PointLights.csproj +++ b/Chapter2/5-LightCasters-PointLights/5-LightCasters-PointLights.csproj @@ -12,7 +12,7 @@ - + diff --git a/Chapter2/5-LightCasters-Spotlight/5-LightCasters-Spotlight.csproj b/Chapter2/5-LightCasters-Spotlight/5-LightCasters-Spotlight.csproj index 87bd235..0e92872 100644 --- a/Chapter2/5-LightCasters-Spotlight/5-LightCasters-Spotlight.csproj +++ b/Chapter2/5-LightCasters-Spotlight/5-LightCasters-Spotlight.csproj @@ -12,7 +12,7 @@ - + diff --git a/Chapter2/6-MultipleLights/6-MultipleLights.csproj b/Chapter2/6-MultipleLights/6-MultipleLights.csproj index 87bd235..0e92872 100644 --- a/Chapter2/6-MultipleLights/6-MultipleLights.csproj +++ b/Chapter2/6-MultipleLights/6-MultipleLights.csproj @@ -12,7 +12,7 @@ - + diff --git a/Common/Common.csproj b/Common/Common.csproj index c77a521..0adccdb 100644 --- a/Common/Common.csproj +++ b/Common/Common.csproj @@ -6,7 +6,7 @@ - - + +