diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..54e1686 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,26 @@ +version: 2 +updates: + - package-ecosystem: nuget + directory: / + schedule: + interval: weekly + day: monday + time: "06:00" + timezone: Europe/Zurich + open-pull-requests-limit: 5 + groups: + nuget-dependencies: + patterns: ["*"] + update-types: [minor, patch] + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly + day: monday + time: "06:15" + timezone: Europe/Zurich + open-pull-requests-limit: 3 + groups: + github-actions: + patterns: ["*"] + update-types: [minor, patch] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..484134d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,36 @@ +name: CI + +on: + push: + branches: + - master + pull_request: + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + quality: + name: Quality + runs-on: windows-latest + timeout-minutes: 20 + steps: + - name: Check out repository + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - name: Set up .NET + uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 + with: + dotnet-version: 8.0.x + - name: Restore + run: dotnet restore SuperDelete.sln + - name: Test + run: dotnet test SuperDelete.sln --configuration Release --no-restore + - name: Build + run: dotnet build SuperDelete.sln --configuration Release --no-restore