Update masking sensitive data tests to use new logging logic #189
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
# based on https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | |
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
# For pull requests, cancel all currently-running jobs for this workflow | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet-version: [6.0.x, 7.0.x, 8.0.x, 9.0.x] | |
include: | |
- dotnet-version: 6.0.x | |
framework: net6.0 | |
- dotnet-version: 7.0.x | |
framework: net7.0 | |
- dotnet-version: 8.0.x | |
framework: net8.0 | |
- dotnet-version: 9.0.x | |
framework: net9.0 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: List installed .NET SDKs | |
run: dotnet --list-sdks | |
- name: Restore project dependencies | |
run: dotnet restore -p:TargetFramework=${{ matrix.framework }} | |
- name: Build (${{ matrix.framework }}) | |
run: dotnet build --framework ${{ matrix.framework }} --no-restore | |
- name: Run tests (${{ matrix.framework }}) | |
run: dotnet test --framework ${{ matrix.framework }} --no-restore --no-build --verbosity normal |