Skip to content

Bump actions/checkout from 6.0.3 to 7.0.0 in the dependencies group #663

Bump actions/checkout from 6.0.3 to 7.0.0 in the dependencies group

Bump actions/checkout from 6.0.3 to 7.0.0 in the dependencies group #663

Workflow file for this run

name: Build
permissions:
contents: read
on:
push:
branches: [ master ]
paths:
- .editorconfig
- src/**
- tests/**
- .github/workflows/build.yml
pull_request:
types: [ opened, reopened, synchronize, ready_for_review ]
branches: [ master ]
paths:
- .editorconfig
- src/**
- tests/**
- .github/workflows/build.yml
env:
DOTNET_VERSION: 10.0.x
jobs:
build:
if: ${{ !github.event.pull_request.draft }}
runs-on: windows-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: true
- name: Use .NET ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Build solutions
run: dotnet build .\WinQuickLook.slnx -c Release -p:Platform=x64
- name: Run test cases
run: dotnet test .\WinQuickLook.slnx -c Release -p:Platform=x64 --no-build
- name: Lint C# code
run: dotnet format .\WinQuickLook.slnx --verify-no-changes --verbosity detailed --no-restore