Skip to content

Commit 5db8d32

Browse files
committed
feat: add Super-Linter GitHub Actions workflow
- Replace the existing Ruff GitHub Actions workflow with a new Super-Linter workflow - Configure Super-Linter to validate various code quality aspects including Python, Markdown, and Git Secrets - Add badges to the README.md file to display the status of the Super-Linter workflow
1 parent 21c9827 commit 5db8d32

File tree

3 files changed

+27
-10
lines changed

3 files changed

+27
-10
lines changed

.github/workflows/ruff.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/super-linter.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Lint
2+
on: [push, pull_request]
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
7+
steps:
8+
9+
- name: Checkout Code
10+
uses: actions/checkout@v3
11+
with:
12+
fetch-depth: 0
13+
14+
- name: Lint Code Base
15+
uses: github/super-linter@v4
16+
env:
17+
VALIDATE_ALL_CODEBASE: true
18+
VALIDATE_HTML: true
19+
FIX_PYTHON_RUFF: true
20+
VALIDATE_PYTHON_RUFF: true
21+
VALIDATE_MARKDOWN_PRETTIER : true
22+
VALIDATE_GITLEAKS: true
23+
VALIDATE_GITHUB_ACTIONS: true
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
![Super-Linter](https://github.com/rtuszik/replicate-flux-lora/actions/workflows/super-linter.yml/badge.svg)
2+
![GitHub tag check runs](https://img.shields.io/github/check-runs/rtuszik/replicate-flux-lora/latest)
3+
14
# Flux Replicate GUI
25
A simple web interface for running Flux models using the Replicate API. Use it to generate images with custom LoRAs and fine-tuned Flux models.
36

0 commit comments

Comments
 (0)