diff --git a/.all-contributorsrc b/.all-contributorsrc index 409f987b..341d4951 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -23,6 +23,15 @@ "contributions": [ "doc" ] + }, + { + "login": "stehlih", + "name": "Heiko Stehli", + "avatar_url": "https://avatars.githubusercontent.com/u/43820014?v=4", + "profile": "https://github.com/stehlih", + "contributions": [ + "code" + ] } ], "contributorsPerLine": 7, @@ -31,5 +40,6 @@ "repoType": "github", "repoHost": "https://github.com", "commitConvention": "none", - "skipCi": true + "skipCi": true, + "commitType": "docs" } diff --git a/.github/renovate.json b/.github/renovate.json index 392c3ce5..38c9b666 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,10 +1,20 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ "github>nils-a/renovate-config" ], + "extends": [ + "github>cake-contrib/renovate-presets:cake-recipe", + "github>cake-contrib/renovate-presets:github-actions" ], "packageRules": [ { - "matchPackageNames": ["cake.tool", "Cake.Core"], + "description": "Update Cake references only for major updates.", + "matchPackageNames": ["Cake.Core", "Cake.Common"], + "matchUpdateTypes": ["minor", "patch"], "enabled": false + }, + { + "description": "Updates to Cake.Core references are breaking.", + "matchPackageNames": ["Cake.Core"], + "matchUpdateTypes": ["major"], + "labels": ["Breaking Change"] } ] -} \ No newline at end of file +} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2a5c4b8..156c8a54 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ windows-2022, ubuntu-22.04, macos-12 ] + os: [ windows-2022, ubuntu-22.04, macos-13 ] env: AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }} @@ -44,32 +44,36 @@ jobs: steps: - name: Checkout the repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - name: Fetch all tags and branches run: git fetch --prune --unshallow - - uses: actions/setup-dotnet@v4.0.0 + - uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0 with: + # codecov needs 2.1 + # unittests needs 3.1 + # gitversion needs 5.0 + # cake 1.3 needs 6.0 + # .NET 9 to build dotnet-version: | - 2.1.818 - 3.1.x - 5.0.x - 6.0.x - 7.0.x - 8.0.x + 2.1 + 3.1 + 5.0 + 6.0 + 9.0 - name: Cache Tools - uses: actions/cache@v3 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Build project - uses: cake-build/cake-action@v1 + uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1 with: script-path: recipe.cake target: CI verbosity: Diagnostic cake-version: tool-manifest - name: Upload Issues - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 with: if-no-files-found: warn name: ${{ matrix.os }} Issues @@ -77,7 +81,7 @@ jobs: BuildArtifacts/report.html BuildArtifacts/**/coverlet/*.xml - name: Upload Packages - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 if: runner.os == 'Windows' with: if-no-files-found: warn diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 42cf7598..4b1a0c19 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -31,24 +31,28 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: fetch-depth: 0 - - uses: actions/setup-dotnet@v4.0.0 + - uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0 with: + # gitversion needs 5.0 + # cake 1.3 needs 6.0 + # .NET 9 to build dotnet-version: | - 5.0.x - 8.0.x + 5.0 + 6.0 + 9.0 - name: Cache Tools - uses: actions/cache@v3 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -57,7 +61,7 @@ jobs: # queries: ./path/to/local/query, your-org/your-repo/queries@main - name: Build project - uses: cake-build/cake-action@v1 + uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1 with: script-path: recipe.cake target: DotNetCore-Build @@ -68,10 +72,10 @@ jobs: COMPlus_DbgMiniDumpName: BuildArtifacts/coredump.dmp - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3 - name: Upload CoreDump - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4 if: failure() with: if-no-files-found: warn diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index c3963c43..e967296f 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -15,19 +15,19 @@ jobs: steps: - name: checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Cache Tools - uses: actions/cache@v3 + uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 with: path: tools key: ${{ runner.os }}-doc-tools-${{ hashFiles('recipe.cake') }} - name: Publishing documentaiton - uses: cake-build/cake-action@v1 + uses: cake-build/cake-action@a6eb054329257c9e70a6c6bf01747ad6e1d9d52b # v1 with: script-path: recipe.cake target: Force-Publish-Documentation diff --git a/README.md b/README.md index 9b0f1237..e19aa0e9 100644 --- a/README.md +++ b/README.md @@ -86,10 +86,13 @@ Thanks goes to these wonderful people ([emoji key][emoji-key]):
Nils Andresen 💻 📖 |
- DiDoHH 📖 |
- |
Nils Andresen 💻 📖 |
+ DiDoHH 📖 |
+ Heiko Stehli 💻 |
+