Skip to content

Bump actions/setup-dotnet from 5 to 6 #15

Bump actions/setup-dotnet from 5 to 6

Bump actions/setup-dotnet from 5 to 6 #15

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
platform: [x64, x86, ARM64]
steps:
- uses: actions/checkout@v7
- name: Setup .NET
uses: actions/setup-dotnet@v6
with:
dotnet-version: 10.x
cache: true
cache-dependency-path: "**/packages.lock.json"
- name: Restore and validate lock files
run: dotnet restore --use-lock-file --force-evaluate --locked-mode -p:Platform=${{ matrix.platform }}
- name: Build
run: dotnet build --no-restore -p:Platform=${{ matrix.platform }}
- name: Test (x64 only)
if: matrix.platform == 'x64'
run: dotnet test --no-build -p:Platform=${{ matrix.platform }} --verbosity normal