Skip to content

chore(deps): bump actions/checkout from 6 to 7 #760

chore(deps): bump actions/checkout from 6 to 7

chore(deps): bump actions/checkout from 6 to 7 #760

Workflow file for this run

name: Tests
on:
push:
branches: ['**']
pull_request:
branches: [main, master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
name: Build & Test (.NET)
runs-on: windows-latest
# Safety net: build+test typically finishes in ~2m, so 20m catches
# a hung `dotnet test` (dead test deadlock, network-dependent probe)
# long before the job's default 6h cap.
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup .NET 9
uses: actions/setup-dotnet@v5
with:
dotnet-version: '9.0.x'
- name: Cache NuGet packages
uses: actions/cache@v5
with:
path: ~/.nuget/packages
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj') }}
restore-keys: |
nuget-${{ runner.os }}-
- name: Restore dependencies
run: dotnet restore WebDevConsole.sln
- name: Build
run: dotnet build WebDevConsole.sln --no-restore -c Release
- name: Test
run: dotnet test WebDevConsole.sln -c Release --verbosity normal