Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add lint #506

Closed
wants to merge 7 commits into from
Closed
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,20 @@ jobs:
command: clippy
args: --all-targets --all-features -- -D warnings

lint:
name: CI:Lint
if: contains(github.event.pull_request.labels.*.name, 'ci:lint')
runs-on: ubuntu-latest
tusharmath marked this conversation as resolved.
Show resolved Hide resolved
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Run lint script
run: ./lint.sh
tusharmath marked this conversation as resolved.
Show resolved Hide resolved
- name: Commit and push if changed
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: style: apply lint fixes
tusharmath marked this conversation as resolved.
Show resolved Hide resolved
tusharmath marked this conversation as resolved.
Show resolved Hide resolved
deploy:
name: Deploy App
runs-on: ubuntu-latest
Expand Down