chore: ignore GitHub Codespaces BROWSER env var #5357
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Style Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 |