-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: limit length of
description
embed field (#3)
* 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
1 parent
2e0b16e
commit 5773bf0
Showing
11 changed files
with
2,182 additions
and
1,765 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/target | ||
/target |
Oops, something went wrong.