Skip to content

Bump Microsoft.NET.Test.Sdk from 17.10.0 to 17.11.1 #335

Bump Microsoft.NET.Test.Sdk from 17.10.0 to 17.11.1

Bump Microsoft.NET.Test.Sdk from 17.10.0 to 17.11.1 #335

name: pr_validation
on:
push:
branches:
- master
- dev
- main
pull_request:
branches:
- master
- dev
- main
permissions:
checks: write
pull-requests: write
issues: write
contents: read
jobs:
build-docker:
# Permissions this GitHub Action needs for other things in GitHub
name: Docker-${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: "Checkout"
uses: actions/[email protected]
with:
lfs: true
fetch-depth: 0
- name: "Install .NET SDK"
uses: actions/[email protected]
with:
global-json-file: "./global.json"
- name: "Update release notes"
shell: pwsh
run: |
./build.ps1
- name: "build docker images"
run: ./build-docker.sh
test:
# Permissions this GitHub Action needs for other things in GitHub
name: Test-${{matrix.os}}
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: "Checkout"
uses: actions/[email protected]
with:
lfs: true
fetch-depth: 0
- name: "Install .NET SDK"
uses: actions/[email protected]
with:
global-json-file: "./global.json"
- name: "Update release notes"
shell: pwsh
run: |
./build.ps1
- name: "dotnet build"
run: dotnet build -c Release
- name: "dotnet pack"
run: dotnet pack -c Release
- name: "dotnet test"
run: dotnet test --configuration Release --verbosity normal --logger trx --collect:"XPlat Code Coverage"