Skip to content

Update dependency Microsoft.NET.Test.Sdk to v17.10.0 #121

Update dependency Microsoft.NET.Test.Sdk to v17.10.0

Update dependency Microsoft.NET.Test.Sdk to v17.10.0 #121

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: Build and run tests
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Git
run: |
git config --global url."https://user:${{ secrets.GITHUB_TOKEN }}@github".insteadOf https://github
git config --global user.name github-actions
git config --global user.email [email protected]
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Process test results
if: ${{ success() || failure() }}
shell: pwsh
run: ./eng/process-test-results.ps1
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}