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

Commit

Permalink
Merge pull request #4 from BitsOfAByte/gha
Browse files Browse the repository at this point in the history
GitHub Actions for linting
  • Loading branch information
NotNite authored Jan 16, 2023
2 parents cb79e77 + 1df2114 commit 5fd2c08
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on: [push, pull_request]

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x

- uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
FILTER_REGEX_INCLUDE: .*src/.*.cs
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5fd2c08

Please sign in to comment.