Skip to content

Update to .NET 10, speed up workflows, fix CVE and warnings #191

Update to .NET 10, speed up workflows, fix CVE and warnings

Update to .NET 10, speed up workflows, fix CVE and warnings #191

Workflow file for this run

name: Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
DOTNET_NOLOGO: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
cache: true
cache-dependency-path: '**/packages.lock.json'
- name: Restore
run: dotnet restore Linq2GraphQL.CI.slnf --locked-mode
- name: Build
run: dotnet build Linq2GraphQL.CI.slnf --no-restore
- name: Test
run: dotnet test Linq2GraphQL.CI.slnf --no-build --verbosity normal