⬆️ Update 🥅 .NET Package Microsoft.NET.Test.Sdk to v17.7.0 #283
Workflow file for this run
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: Build and Test | |
on: | |
pull_request: | |
types: [synchronize, opened, edited] | |
push: | |
branches: [main] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
cfg: [Release, Debug] | |
os: [ubuntu, macos, windows] | |
version: ['6.x'] | |
runs-on: ${{ matrix.os }}-latest | |
env: | |
DOTNET_NOLOGO: true | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3 | |
with: | |
dotnet-version: ${{ matrix.version }} | |
- name: Install Dependencies | |
run: dotnet restore | |
- name: Install Tools | |
run: dotnet tool restore | |
- name: Check Formatting | |
run: dotnet format --verify-no-changes | |
- name: Build Project | |
run: >- | |
dotnet build --nologo --no-restore | |
--configuration ${{ matrix.cfg }} | |
- name: Run Tests | |
working-directory: ${{github.workspace}}/Atmosphere.Tests | |
run: >- | |
dotnet test --nologo --no-restore | |
--configuration ${{ matrix.cfg }} | |
--logger GitHubActions |