remove test from CI for now due to CA1515 #45
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
name: Continuous Integration | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- "releases/*" | |
jobs: | |
build-lint-test: | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
include: | |
- os: windows-latest | |
checkTarget: true | |
- os: ubuntu-latest | |
runs-on: ${{ matrix.runsOn || matrix.os }} | |
steps: | |
- name: Print build information | |
run: "echo head_ref: ${{ github.head_ref }}, ref: ${{ github.ref }}, os: ${{ matrix.os }}" | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8 | |
- name: Build durable-execution | |
run: dotnet build | |
working-directory: exercises/durable-execution/solution/Worker | |
- name: Check format durable-executon | |
run: dotnet format --verify-no-changes | |
working-directory: exercises/durable-execution/solution/Worker | |
- name: Build debug-activity | |
run: dotnet build | |
working-directory: exercises/debug-activity/solution/Worker | |
- name: Check format debug-activity | |
run: dotnet format --verify-no-changes | |
working-directory: exercises/debug-activity/solution/Worker | |
- name: Build testing-code | |
run: dotnet build | |
working-directory: exercises/testing-code/solution/Worker | |
- name: Check format testing-code | |
run: dotnet format --verify-no-changes | |
working-directory: exercises/testing-code/solution/Worker | |
- name: Build using-records | |
run: dotnet build | |
working-directory: samples/using-records/Worker | |
- name: Check format using-records | |
run: dotnet format --verify-no-changes | |
working-directory: samples/using-records/Worker | |
- name: Build age-estimation | |
run: dotnet build | |
working-directory: samples/age-estimation/Worker | |
- name: Check format age-estimation | |
run: dotnet format --verify-no-changes | |
working-directory: samples/age-estimation/Worker |