diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..b05db38 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# 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/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "nuget" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" + groups: + all: + patterns: + - "*" diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index fe68d5a..dc66f20 100755 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,5 +1,8 @@ name: Build, test and publish -on: [ push ] +on: + push: + branches: + - main jobs: build-test-publish: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100755 index 0000000..71868d7 --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,15 @@ +name: Build and test +on: + pull_request: + branches: + - main + +jobs: + build-test: + name: Build abd test + uses: HavenDV/workflows/.github/workflows/dotnet_build-test-publish.yml@main + with: + generate-build-number: false + conventional-commits-publish-conditions: false + enable-caching: false + additional-test-arguments: '--logger GitHubActions' \ No newline at end of file diff --git a/Replicate.sln b/Replicate.sln index 1de0329..a2c3fb0 100755 --- a/Replicate.sln +++ b/Replicate.sln @@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution docs\openapi.nswag = docs\openapi.nswag README.md = README.md docs\openapi.json = docs\openapi.json + .github\workflows\pull-request.yml = .github\workflows\pull-request.yml EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "libs", "libs", "{61E7E11E-4558-434C-ACE8-06316A3097B3}"