mirror of
https://github.com/microsoft/playwright-dotnet.git
synced 2026-10-19 07:01:43 +08:00
5d6e5c16ef
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
26 lines
535 B
YAML
26 lines
535 B
YAML
name: Code Style Checks
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: Setup .NET Core
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: 8.0.x
|
|
- name: Check formatting
|
|
run: dotnet format ./src/ --verify-no-changes -v:diag
|
|
- name: Download driver
|
|
run: ./build.sh --download-driver
|
|
- name: Build projects (runs .NET analyzers)
|
|
run: dotnet build ./src
|