Skip to content

docs: update release notes #178

docs: update release notes

docs: update release notes #178

Workflow file for this run

name: default
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
build:
name: Running tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
steps:
- uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.x
7.x
8.x
9.x
- uses: actions/cache@v3
with:
path: ~/.nuget/packages
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.*', '**/*.csproj') }}
restore-keys: |
${{ matrix.os }}-nuget
- name: dotnet info
run: dotnet --info
- name: build
run: bash build.sh --target=test
windows-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.x
7.x
8.x
9.x
- uses: actions/cache@v3
with:
path: ~/.nuget/packages
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.*', '**/*.csproj') }}
restore-keys: |
windows-nuget
- name: Setup dotnet-sonar
run: |
dotnet tool install --global dotnet-sonarscanner --version 6.0.0
dotnet-sonarscanner begin /k:"WeihanLi_dotnet-exec" /o:"weihanli" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="**/coverage.opencover.xml"
- name: dotnet info
run: dotnet --info
- name: build
shell: pwsh
run: .\build.ps1
# https://github.com/marketplace/actions/setup-java-jdk#usage
- name: Setup Java
uses: actions/[email protected]
with:
# The Java version to set up. Takes a whole or semver Java version. See examples of supported syntax in README file
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '21'
java-package: jre
- name: post build
run: dotnet-sonarscanner end /d:sonar.login=${{ secrets.SONAR_TOKEN }}