mirror of
https://github.com/microsoft/playwright-dotnet.git
synced 2026-10-26 03:00:19 +08:00
28 lines
564 B
YAML
28 lines
564 B
YAML
name: Code Style Checks
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Setup .NET Core
|
|
uses: actions/setup-dotnet@v5
|
|
with:
|
|
dotnet-version: |
|
|
8.0.x
|
|
10.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
|