-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
149 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [windows-2019, ubuntu-18.04, macos-10.15] | ||
os: [windows-2022, ubuntu-22.04, macos-12] | ||
env: | ||
AZURE_PASSWORD: ${{ secrets.AZURE_PASSWORD }} | ||
AZURE_SOURCE: ${{ secrets.AZURE_SOURCE }} | ||
|
@@ -41,11 +41,20 @@ jobs: | |
- uses: actions/[email protected] | ||
- name: Fetch all tags and branches | ||
run: git fetch --prune --unshallow | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
2.1.x | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- 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@v2.1.4 | ||
uses: actions/cache@v3.0.10 | ||
with: | ||
path: tools | ||
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | ||
|
@@ -58,10 +67,9 @@ 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/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
name: ${{ matrix.os }}-artifacts | ||
path: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# 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-22.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 | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.1.x | ||
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. | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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-22.04 # linux, because this is a docker-action | ||
steps: | ||
- name: check/update cake dependencies | ||
uses: nils-org/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,15 +8,15 @@ on: | |
jobs: | ||
super_linter: | ||
name: List with Super Linter | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,27 +7,36 @@ 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 | ||
uses: actions/[email protected] | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.0.x | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- 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') }} | ||
- name: Set up git version | ||
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} | ||
uses: gittools/actions/gitversion/[email protected].9 | ||
uses: gittools/actions/gitversion/[email protected].13 | ||
with: | ||
versionSpec: "5.x" | ||
- name: Run git version | ||
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected].9 | ||
uses: gittools/actions/gitversion/[email protected].13 | ||
- name: Create release branch ${{ github.event.inputs.version }} | ||
if: ${{ steps.gitversion.outputs.majorMinorPatch }} | ||
run: git switch -c release/${{ steps.gitversion.outputs.majorMinorPatch }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,24 @@ 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 | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.ref }} | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
2.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- 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') }} | ||
|
@@ -29,5 +37,4 @@ jobs: | |
script-path: recipe.cake | ||
target: Force-Publish-Documentation | ||
verbosity: Diagnostic | ||
cake-version: 0.38.5 | ||
cake-bootstrap: true | ||
cake-version: tool-manifest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,27 +7,36 @@ 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 | ||
uses: actions/[email protected] | ||
- name: Setup dotnet | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: | | ||
3.0.x | ||
3.1.x | ||
5.0.x | ||
6.0.x | ||
7.0.x | ||
- 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') }} | ||
- name: Set up git version | ||
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} | ||
uses: gittools/actions/gitversion/[email protected].9 | ||
uses: gittools/actions/gitversion/[email protected].13 | ||
with: | ||
versionSpec: "5.x" | ||
- name: Run git version | ||
if: ${{ !contains(github.ref, '/hotfix/') && !contains(github.ref, '/release/') }} | ||
id: gitversion | ||
uses: gittools/actions/gitversion/[email protected].9 | ||
uses: gittools/actions/gitversion/[email protected].13 | ||
- name: Create release branch ${{ github.event.inputs.version }} | ||
if: ${{ steps.gitversion.outputs.majorMinorPatch }} | ||
run: git switch -c release/${{ steps.gitversion.outputs.majorMinorPatch }} | ||
|
@@ -43,5 +52,4 @@ jobs: | |
script-path: recipe.cake | ||
target: releasenotes | ||
verbosity: Diagnostic | ||
cake-version: 0.38.5 | ||
cake-bootstrap: true | ||
cake-version: tool-manifest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters