Skip to content

Bump version

Bump version #181

Workflow file for this run

name: Run code quality checks
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
code-quality:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: yezz123/setup-uv@v4
- run: uv sync
- run: .venv/bin/ruff check
notify-on-failure:
name: Notify on Code Quality Failures
if: ${{ failure() && github.ref == 'refs/heads/main' }}
needs:
- code-quality
runs-on: ubuntu-latest
steps:
- uses: nobrayner/discord-webhook@v1
with:
github-token: ${{ secrets.github_token }}
discord-webhook: ${{ secrets.DISCORD_WEBHOOK }}
title: 'LazyGithub Code Quality Checks Failed'
description: 'There are linter errors on main!'