Skip to content

build(deps): update Microsoft.CodeAnalysis.CSharp version to 4.11.0 a… #46

build(deps): update Microsoft.CodeAnalysis.CSharp version to 4.11.0 a…

build(deps): update Microsoft.CodeAnalysis.CSharp version to 4.11.0 a… #46

Workflow file for this run

name: .NET Build and Test
on:
workflow_dispatch:
push:
branches-ignore:
- release/*
- release-pr/*
paths:
- '**.csproj'
- '**.cs'
- '**./Directories.Build.props'
- '.github/workflows/test.yaml'
permissions:
contents: read
env:
DOTNET_VERSION: '9.0.x'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
cache: true
cache-dependency-path: '**/packages.lock.json'
- name: Restore dependencies
run: dotnet restore --locked-mode
- name: Build
run: dotnet build --no-restore
- name: Run tests
run: dotnet test --no-build --verbosity normal --logger GitHubActions