From 0cb6b9a2da08da24262e721d002d25b3677f8c8d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 4 Apr 2021 15:46:46 +0200 Subject: [PATCH 01/15] Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4 (#160) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.1 to 16.9.4. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.9.1...v16.9.4) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj b/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj index 24ab0b4..6d56ff9 100644 --- a/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj +++ b/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj @@ -4,7 +4,7 @@ - + From 519066ec283509bcd49a215366e99a75684044b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Apr 2021 10:56:03 +0200 Subject: [PATCH 02/15] Bump actions/upload-artifact from v2.2.2 to v2.2.3 (#161) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.2 to v2.2.3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.2...ee69f02b3dfdecd58bb31b4d133da38ba6fe3700) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 72be495..abb6a57 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,7 +61,7 @@ jobs: cake-version: 0.38.5 cake-bootstrap: true - name: Upload artifacts - uses: actions/upload-artifact@v2.2.2 + uses: actions/upload-artifact@v2.2.3 with: name: ${{ matrix.os }}-artifacts path: | From 02fcf2818156abaaf5e7be878be2607b83dfa1c3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 May 2021 13:56:26 +0200 Subject: [PATCH 03/15] Bump CakeContrib.Guidelines from 1.0.0 to 1.1.1 (#162) Bumps [CakeContrib.Guidelines](https://github.com/cake-contrib/CakeContrib.Guidelines) from 1.0.0 to 1.1.1. - [Release notes](https://github.com/cake-contrib/CakeContrib.Guidelines/releases) - [Changelog](https://github.com/cake-contrib/CakeContrib.Guidelines/blob/develop/GitReleaseManager.yaml) - [Commits](https://github.com/cake-contrib/CakeContrib.Guidelines/compare/1.0.0...1.1.1) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/Cake.Transifex/Cake.Transifex.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.Transifex/Cake.Transifex.csproj b/src/Cake.Transifex/Cake.Transifex.csproj index 3c84303..59fff32 100644 --- a/src/Cake.Transifex/Cake.Transifex.csproj +++ b/src/Cake.Transifex/Cake.Transifex.csproj @@ -48,7 +48,7 @@ Supports Cake $(CakeVersion)+ all - + runtime; build; native; contentfiles; analyzers; buildtransitive all From 1642d3dc8e714b634abae4fd8b52408bbca173ce Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Mon, 10 Oct 2022 19:40:45 +0100 Subject: [PATCH 04/15] (build) Add missing GitHub Actions These have been copied over from the Cake.AppVeyor repository to help maintain the consistency between builds for different addins. --- .github/workflows/codeql-analysis.yml | 56 +++++++++++++++++++++++++++ .github/workflows/dependabot-cake.yml | 13 +++++++ 2 files changed, 69 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml create mode 100644 .github/workflows/dependabot-cake.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..6168100 --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,56 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +name: "CodeQL" + +on: + push: + branches: [develop] + pull_request: + # The branches below must be a subset of the branches above + branches: [develop] + schedule: + - cron: '0 15 * * 6' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-18.04 + + strategy: + fail-fast: false + matrix: + # Override automatic language detection by changing the below list + # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] + language: ['csharp'] + # Learn more... + # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + # If this run was triggered by a pull request event, then checkout + # the head of the pull request instead of the merge commit. + - run: git checkout HEAD^2 + if: ${{ github.event_name == 'pull_request' }} + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + - run: ./build.ps1 + shell: pwsh + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 \ No newline at end of file diff --git a/.github/workflows/dependabot-cake.yml b/.github/workflows/dependabot-cake.yml new file mode 100644 index 0000000..cc42150 --- /dev/null +++ b/.github/workflows/dependabot-cake.yml @@ -0,0 +1,13 @@ +name: Run dependabot for cake +on: + workflow_dispatch: + schedule: + # run everyday at 6 + - cron: '0 6 * * *' + +jobs: + dependabot-cake: + runs-on: ubuntu-18.04 # linux, because this is a docker-action + steps: + - name: check/update cake dependencies + uses: nils-org/dependabot-cake-action@v1.1.0 \ No newline at end of file From 38c8bb54a971dce2d0c72cd783b6861ab0f143f6 Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Mon, 10 Oct 2022 20:12:53 +0100 Subject: [PATCH 05/15] (#206) Update target frameworks and Cake version In order to support Cake 2.0.0, we needed to change the target frameworks to what is supported in this version. --- .../Cake.Transifex.Tests.csproj | 4 ++-- src/Cake.Transifex/Cake.Transifex.csproj | 13 ++++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj b/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj index 6d56ff9..e795f86 100644 --- a/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj +++ b/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj @@ -1,6 +1,6 @@ - net5.0;netcoreapp2.1 + netcoreapp3.1;net5.0;net6.0 @@ -9,7 +9,7 @@ - + runtime; build; native; contentfiles; analyzers all diff --git a/src/Cake.Transifex/Cake.Transifex.csproj b/src/Cake.Transifex/Cake.Transifex.csproj index 59fff32..e23280f 100644 --- a/src/Cake.Transifex/Cake.Transifex.csproj +++ b/src/Cake.Transifex/Cake.Transifex.csproj @@ -5,7 +5,7 @@ Cake.Transifex.ruleset Cake Contributors Copyright 2017-$([System.DateTime]::Now.Year) - Kim J. Nordmo - 1.0.0 + 2.0.0 Cake.Transifex is a addin for the Cake Build script adding support for working with the localization service Transifex. This addin requires that the transifex client is already installed and is available as `tx`. @@ -15,7 +15,7 @@ Supports Cake $(CakeVersion)+ bin\$(Configuration)\$(TargetFramework)\Cake.Transifex.xml en-GB - net5.0;netstandard2.0 + netcoreapp3.1;net5.0;net6.0 7 ..\Cake.Transifex.ruleset @@ -43,12 +43,15 @@ Supports Cake $(CakeVersion)+ - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive + + all + runtime; build; native; contentfiles; analyzers; buildtransitive - - runtime; build; native; contentfiles; analyzers; buildtransitive all From a83b71114d9c899dcf3da26b3fb2e811b8cd7362 Mon Sep 17 00:00:00 2001 From: Gary Ewan Park Date: Mon, 10 Oct 2022 20:17:36 +0100 Subject: [PATCH 06/15] (build) Update build runner images Since we have upgraded to .NET6.0, we need to use newer build images to get things working. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index abb6a57..eb461f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-2019, ubuntu-18.04, macos-10.15] + os: [windows-latest, ubuntu-18.04, macos-latest] env: AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }} AZURE_SOURCE: ${{ secrets.AZURE_SOURCE }} From c4cea50e56e26d39043cf5c80f07d60471c62665 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Oct 2022 20:42:21 +0100 Subject: [PATCH 07/15] Bump actions/cache from 2.1.4 to 3.0.10 (#249) Bumps [actions/cache](https://github.com/actions/cache) from 2.1.4 to 3.0.10. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v2.1.4...v3.0.10) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- .github/workflows/pre-release-notes.yml | 2 +- .github/workflows/publishdocs.yml | 2 +- .github/workflows/release-notes.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb461f1..53c338e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: if: ${{ matrix.os == 'ubuntu-18.04' }} # We do not need it for anything else run: sudo apt-get install transifex-client -y - name: Cache Tools - uses: actions/cache@v2.1.4 + uses: actions/cache@v3.0.10 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} diff --git a/.github/workflows/pre-release-notes.yml b/.github/workflows/pre-release-notes.yml index a237e17..4f98082 100644 --- a/.github/workflows/pre-release-notes.yml +++ b/.github/workflows/pre-release-notes.yml @@ -15,7 +15,7 @@ jobs: - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Cache Tools - uses: actions/cache@v2.1.4 + uses: actions/cache@v3.0.10 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} diff --git a/.github/workflows/publishdocs.yml b/.github/workflows/publishdocs.yml index 0be5d48..07ee853 100644 --- a/.github/workflows/publishdocs.yml +++ b/.github/workflows/publishdocs.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 ref: ${{ github.event.ref }} - name: Cache Tools - uses: actions/cache@v2.1.4 + uses: actions/cache@v3.0.10 with: path: tools key: ${{ runner.os }}-doc-tools-${{ hashFiles('recipe.cake') }} diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 7fc81cb..ad4d9ba 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -15,7 +15,7 @@ jobs: - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Cache Tools - uses: actions/cache@v2.1.4 + uses: actions/cache@v3.0.10 with: path: tools key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} From 7920fc7567c242333eebb431be03b577a1cd581e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Oct 2022 20:50:17 +0100 Subject: [PATCH 08/15] Bump gittools/actions from 0.9.9 to 0.9.13 (#251) Bumps [gittools/actions](https://github.com/gittools/actions) from 0.9.9 to 0.9.13. - [Release notes](https://github.com/gittools/actions/releases) - [Commits](https://github.com/gittools/actions/compare/v0.9.9...v0.9.13) --- updated-dependencies: - dependency-name: gittools/actions dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/pre-release-notes.yml | 4 ++-- .github/workflows/release-notes.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pre-release-notes.yml b/.github/workflows/pre-release-notes.yml index 4f98082..74a61a5 100644 --- a/.github/workflows/pre-release-notes.yml +++ b/.github/workflows/pre-release-notes.yml @@ -21,13 +21,13 @@ jobs: key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Set up git version if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} - uses: gittools/actions/gitversion/setup@v0.9.9 + uses: gittools/actions/gitversion/setup@v0.9.13 with: versionSpec: "5.x" - name: Run git version if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} id: gitversion - uses: gittools/actions/gitversion/execute@v0.9.9 + uses: gittools/actions/gitversion/execute@v0.9.13 - name: Create release branch ${{ github.event.inputs.version }} if: ${{ steps.gitversion.outputs.majorMinorPatch }} run: git switch -c release/${{ steps.gitversion.outputs.majorMinorPatch }} diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index ad4d9ba..bec1414 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -21,13 +21,13 @@ jobs: key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} - name: Set up git version if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} - uses: gittools/actions/gitversion/setup@v0.9.9 + uses: gittools/actions/gitversion/setup@v0.9.13 with: versionSpec: "5.x" - name: Run git version if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} id: gitversion - uses: gittools/actions/gitversion/execute@v0.9.9 + uses: gittools/actions/gitversion/execute@v0.9.13 - name: Create release branch ${{ github.event.inputs.version }} if: ${{ steps.gitversion.outputs.majorMinorPatch }} run: git switch -c release/${{ steps.gitversion.outputs.majorMinorPatch }} From deab5971aac52e4f8ea6f95b0b31351c36f81234 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Oct 2022 21:05:28 +0100 Subject: [PATCH 09/15] Bump github/super-linter from 3.15.5 to 4.9.7 (#250) Bumps [github/super-linter](https://github.com/github/super-linter) from 3.15.5 to 4.9.7. - [Release notes](https://github.com/github/super-linter/releases) - [Changelog](https://github.com/github/super-linter/blob/main/docs/release-process.md) - [Commits](https://github.com/github/super-linter/compare/v3.15.5...v4.9.7) --- updated-dependencies: - dependency-name: github/super-linter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/linters.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index d656076..d6bd51c 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -16,7 +16,7 @@ jobs: fetch-depth: 0 - name: Lint Code Base - uses: github/super-linter@v3.15.5 + uses: github/super-linter@v4.9.7 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: develop From 8928821f2d4974807c0fb85e5bf57019541922c0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Oct 2022 21:46:39 +0100 Subject: [PATCH 10/15] Bump Microsoft.NET.Test.Sdk from 16.9.4 to 17.3.2 (#247) Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.4 to 17.3.2. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.9.4...v17.3.2) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj b/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj index e795f86..8597f77 100644 --- a/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj +++ b/src/Cake.Transifex.Tests/Cake.Transifex.Tests.csproj @@ -4,7 +4,7 @@ - + From e151fdcdb7cf1337ee356a8e8794b6e606a5f8ea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Oct 2022 21:56:35 +0100 Subject: [PATCH 11/15] Bump Roslynator.Analyzers from 3.1.0 to 4.1.1 (#236) Bumps [Roslynator.Analyzers](https://github.com/josefpihrt/roslynator) from 3.1.0 to 4.1.1. - [Release notes](https://github.com/josefpihrt/roslynator/releases) - [Changelog](https://github.com/JosefPihrt/Roslynator/blob/master/ChangeLog.md) - [Commits](https://github.com/josefpihrt/roslynator/compare/v3.1.0...v4.1.1) --- updated-dependencies: - dependency-name: Roslynator.Analyzers dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/Cake.Transifex/Cake.Transifex.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cake.Transifex/Cake.Transifex.csproj b/src/Cake.Transifex/Cake.Transifex.csproj index e23280f..dec5617 100644 --- a/src/Cake.Transifex/Cake.Transifex.csproj +++ b/src/Cake.Transifex/Cake.Transifex.csproj @@ -52,7 +52,7 @@ Supports Cake $(CakeVersion)+ all runtime; build; native; contentfiles; analyzers; buildtransitive - + runtime; build; native; contentfiles; analyzers; buildtransitive all From 006612db00fc3dbf9378c787a7788b3da15778c5 Mon Sep 17 00:00:00 2001 From: "C. Augusto Proiete" Date: Sun, 7 May 2023 23:31:58 -0300 Subject: [PATCH 12/15] (build) Update build runner images --- .github/workflows/build.yml | 4 ++-- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/dependabot-cake.yml | 2 +- .github/workflows/linters.yml | 2 +- .github/workflows/pre-release-notes.yml | 2 +- .github/workflows/publishdocs.yml | 2 +- .github/workflows/release-notes.yml | 2 +- .github/workflows/toc.yml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 53c338e..a509a8b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, ubuntu-18.04, macos-latest] + os: [windows-2022, ubuntu-22.04, macos-12] env: AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }} AZURE_SOURCE: ${{ secrets.AZURE_SOURCE }} @@ -42,7 +42,7 @@ jobs: - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Install Transifex Client - if: ${{ matrix.os == 'ubuntu-18.04' }} # We do not need it for anything else + if: ${{ matrix.os == 'ubuntu-22.04' }} # We do not need it for anything else run: sudo apt-get install transifex-client -y - name: Cache Tools uses: actions/cache@v3.0.10 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6168100..dda4d38 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,7 +17,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false diff --git a/.github/workflows/dependabot-cake.yml b/.github/workflows/dependabot-cake.yml index cc42150..487b84a 100644 --- a/.github/workflows/dependabot-cake.yml +++ b/.github/workflows/dependabot-cake.yml @@ -7,7 +7,7 @@ on: jobs: dependabot-cake: - runs-on: ubuntu-18.04 # linux, because this is a docker-action + runs-on: ubuntu-22.04 # linux, because this is a docker-action steps: - name: check/update cake dependencies uses: nils-org/dependabot-cake-action@v1.1.0 \ No newline at end of file diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index d6bd51c..2ef7220 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -8,7 +8,7 @@ on: jobs: super_linter: name: List with Super Linter - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2.3.4 diff --git a/.github/workflows/pre-release-notes.yml b/.github/workflows/pre-release-notes.yml index 74a61a5..7e94cf7 100644 --- a/.github/workflows/pre-release-notes.yml +++ b/.github/workflows/pre-release-notes.yml @@ -7,7 +7,7 @@ jobs: draft-pre-release: env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Checkout the requested branch diff --git a/.github/workflows/publishdocs.yml b/.github/workflows/publishdocs.yml index 07ee853..2200495 100644 --- a/.github/workflows/publishdocs.yml +++ b/.github/workflows/publishdocs.yml @@ -10,7 +10,7 @@ jobs: WYAM_ACCESS_TOKEN: ${{ secrets.WYAM_ACCESS_TOKEN }} WYAM_DEPLOY_REMOTE: "${{ github.event.repository.html_url }}" WYAM_DEPLOY_BRANCH: "gh-pages" - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Checkout the requested branch diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index bec1414..09d4c87 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -7,7 +7,7 @@ jobs: draft-stable: env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Checkout the requested branch diff --git a/.github/workflows/toc.yml b/.github/workflows/toc.yml index 007aef7..e23812d 100644 --- a/.github/workflows/toc.yml +++ b/.github/workflows/toc.yml @@ -8,7 +8,7 @@ on: jobs: toc: name: TOC Generator - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: technote-space/toc-generator@v4 From 15a5c4b8d71bb56ffa96181132b00d9c95d279af Mon Sep 17 00:00:00 2001 From: AdmiringWorm Date: Wed, 10 May 2023 06:37:10 +0200 Subject: [PATCH 13/15] (build) Update Cake.Recipe to latest version --- .config/dotnet-tools.json | 6 ++++-- .github/workflows/build.yml | 3 +-- .github/workflows/publishdocs.yml | 3 +-- .github/workflows/release-notes.yml | 3 +-- recipe.cake | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index c2270b4..26e2bc1 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,8 +3,10 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "0.38.5", - "commands": ["dotnet-cake"] + "version": "1.3.0", + "commands": [ + "dotnet-cake" + ] } } } diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a509a8b..c991a5c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,8 +58,7 @@ jobs: script-path: recipe.cake target: CI verbosity: Diagnostic - cake-version: 0.38.5 - cake-bootstrap: true + cake-version: tool-manifest - name: Upload artifacts uses: actions/upload-artifact@v2.2.3 with: diff --git a/.github/workflows/publishdocs.yml b/.github/workflows/publishdocs.yml index 2200495..56890b6 100644 --- a/.github/workflows/publishdocs.yml +++ b/.github/workflows/publishdocs.yml @@ -29,5 +29,4 @@ jobs: script-path: recipe.cake target: Force-Publish-Documentation verbosity: Diagnostic - cake-version: 0.38.5 - cake-bootstrap: true + cake-version: tool-manifest diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 09d4c87..e7aac52 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -43,5 +43,4 @@ jobs: script-path: recipe.cake target: releasenotes verbosity: Diagnostic - cake-version: 0.38.5 - cake-bootstrap: true + cake-version: tool-manifest diff --git a/recipe.cake b/recipe.cake index d47d11c..4e99f84 100644 --- a/recipe.cake +++ b/recipe.cake @@ -1,4 +1,4 @@ -#load nuget:?package=Cake.Recipe&version=2.2.1 +#load nuget:?package=Cake.Recipe&version=3.0.1 #load "./.build/*.cake" Environment.SetVariableNames(); From 6ca94f5cfe2899dfdf1525894be599f513ca56ac Mon Sep 17 00:00:00 2001 From: AdmiringWorm Date: Wed, 10 May 2023 07:04:16 +0200 Subject: [PATCH 14/15] (build) Add installation of .NET SDK GH action --- .github/workflows/build.yml | 7 +++++++ .github/workflows/codeql-analysis.yml | 7 +++++++ .github/workflows/pre-release-notes.yml | 7 +++++++ .github/workflows/publishdocs.yml | 7 +++++++ .github/workflows/release-notes.yml | 7 +++++++ 5 files changed, 35 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c991a5c..4e46e35 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,6 +41,13 @@ jobs: - uses: actions/checkout@v2.3.4 - name: Fetch all tags and branches run: git fetch --prune --unshallow + - name: Setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 5.0.x + 6.0.x + 7.0.x - name: Install Transifex Client if: ${{ matrix.os == 'ubuntu-22.04' }} # We do not need it for anything else run: sudo apt-get install transifex-client -y diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index dda4d38..69148d3 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -33,6 +33,13 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 5.0.x + 6.0.x + 7.0.x # If this run was triggered by a pull request event, then checkout # the head of the pull request instead of the merge commit. diff --git a/.github/workflows/pre-release-notes.yml b/.github/workflows/pre-release-notes.yml index 7e94cf7..f97d9b3 100644 --- a/.github/workflows/pre-release-notes.yml +++ b/.github/workflows/pre-release-notes.yml @@ -12,6 +12,13 @@ jobs: steps: - name: Checkout the requested branch uses: actions/checkout@v2.3.4 + - name: Setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 5.0.x + 6.0.x + 7.0.x - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Cache Tools diff --git a/.github/workflows/publishdocs.yml b/.github/workflows/publishdocs.yml index 56890b6..e6322cf 100644 --- a/.github/workflows/publishdocs.yml +++ b/.github/workflows/publishdocs.yml @@ -18,6 +18,13 @@ jobs: with: fetch-depth: 0 ref: ${{ github.event.ref }} + - name: Setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 5.0.x + 6.0.x + 7.0.x - name: Cache Tools uses: actions/cache@v3.0.10 with: diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index e7aac52..d80e98f 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -12,6 +12,13 @@ jobs: steps: - name: Checkout the requested branch uses: actions/checkout@v2.3.4 + - name: Setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 5.0.x + 6.0.x + 7.0.x - name: Fetch all tags and branches run: git fetch --prune --unshallow - name: Cache Tools From 64b4089687d0bf3b91ad8889aec9ae1400c83e55 Mon Sep 17 00:00:00 2001 From: AdmiringWorm Date: Wed, 10 May 2023 07:26:18 +0200 Subject: [PATCH 15/15] (build) Add missing SDKs required during GH --- .github/workflows/build.yml | 2 ++ .github/workflows/codeql-analysis.yml | 5 +++-- .github/workflows/pre-release-notes.yml | 2 ++ .github/workflows/publishdocs.yml | 1 + .github/workflows/release-notes.yml | 2 ++ 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4e46e35..d762633 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,6 +45,8 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | + 2.1.x + 3.1.x 5.0.x 6.0.x 7.0.x diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 69148d3..3a4d1c6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,6 +37,7 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | + 3.1.x 5.0.x 6.0.x 7.0.x @@ -52,7 +53,7 @@ jobs: with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. + # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main @@ -60,4 +61,4 @@ jobs: shell: pwsh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 \ No newline at end of file + uses: github/codeql-action/analyze@v2 diff --git a/.github/workflows/pre-release-notes.yml b/.github/workflows/pre-release-notes.yml index f97d9b3..53a132a 100644 --- a/.github/workflows/pre-release-notes.yml +++ b/.github/workflows/pre-release-notes.yml @@ -16,6 +16,8 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | + 3.0.x + 3.1.x 5.0.x 6.0.x 7.0.x diff --git a/.github/workflows/publishdocs.yml b/.github/workflows/publishdocs.yml index e6322cf..bb23470 100644 --- a/.github/workflows/publishdocs.yml +++ b/.github/workflows/publishdocs.yml @@ -22,6 +22,7 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | + 2.1.x 5.0.x 6.0.x 7.0.x diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index d80e98f..06d0114 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -16,6 +16,8 @@ jobs: uses: actions/setup-dotnet@v3 with: dotnet-version: | + 3.0.x + 3.1.x 5.0.x 6.0.x 7.0.x