Skip to content

Commit

Permalink
fix: limit length of description embed field (#3)
Browse files Browse the repository at this point in the history
* fix: limit length of `description` embed field

* chore: fix line endings

* chore: update dependencies

* feat: move text length limits into EmbedBuilder

* ci: add lint workflow

* chore: fix clippy lints

---------

Co-authored-by: backwardspy <backwardspy@pigeon.life>
  • Loading branch information
sgoudham and backwardspy authored Sep 15, 2024
1 parent 2e0b16e commit 5773bf0
Show file tree
Hide file tree
Showing 11 changed files with 2,182 additions and 1,765 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Lint

on:
pull_request:
paths: ["**.rs", "**.toml", "**.lock"]
push:
branches: [main]
paths: ["**.rs", "**.toml", "**.lock"]

jobs:
rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('./Cargo.lock') }}-test

- name: clippy
run: cargo clippy

- name: rustfmt check
run: cargo fmt --all --check
542 changes: 271 additions & 271 deletions .github/workflows/release.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/target
/target
Loading

0 comments on commit 5773bf0

Please sign in to comment.