mirror of
https://github.com/microsoft/playwright-dotnet.git
synced 2026-10-18 22:50:52 +08:00
28 lines
658 B
YAML
28 lines
658 B
YAML
name: Code Style Checks
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
|
- name: Setup .NET Core
|
|
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
|
|
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
|