Skip to content

Commit

Permalink
feat: add Super-Linter GitHub Actions workflow
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
rtuszik committed Aug 25, 2024
1 parent 21c9827 commit 5db8d32
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ruff.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest

steps:

- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: true
VALIDATE_HTML: true
FIX_PYTHON_RUFF: true
VALIDATE_PYTHON_RUFF: true
VALIDATE_MARKDOWN_PRETTIER : true
VALIDATE_GITLEAKS: true
VALIDATE_GITHUB_ACTIONS: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
![Super-Linter](https://github.com/rtuszik/replicate-flux-lora/actions/workflows/super-linter.yml/badge.svg)
![GitHub tag check runs](https://img.shields.io/github/check-runs/rtuszik/replicate-flux-lora/latest)

# Flux Replicate GUI
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.

Expand Down

0 comments on commit 5db8d32

Please sign in to comment.