Skip to content

updated the lint.yml file to fix the bug in it #3

updated the lint.yml file to fix the bug in it

updated the lint.yml file to fix the bug in it #3

Workflow file for this run

name: C# Lint
on:
push:
branches:
- main
- test
pull_request:
branches:
- main
- test
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: "8.x"
- name: Install dependencies
run: dotnet restore api/api.csproj
- name: Run StyleCop linting
run: dotnet build api /warnaserror /p:TreatWarningsAsErrors=true