Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Commit 5fd2c08

Browse files
authored
Merge pull request #4 from BitsOfAByte/gha
GitHub Actions for linting
2 parents cb79e77 + 1df2114 commit 5fd2c08

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/lint.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on: [push, pull_request]
2+
3+
jobs:
4+
lint:
5+
name: Lint
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
with:
10+
fetch-depth: 0
11+
12+
- uses: actions/setup-dotnet@v1
13+
with:
14+
dotnet-version: 7.0.x
15+
16+
- uses: github/super-linter@v4
17+
env:
18+
VALIDATE_ALL_CODEBASE: false
19+
DEFAULT_BRANCH: main
20+
FILTER_REGEX_INCLUDE: .*src/.*.cs
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)