-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
67adf2d
commit 73ab23f
Showing
5 changed files
with
141 additions
and
0 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,3 @@ | ||
# These are supported funding model platforms | ||
|
||
github: [maxcountryman] |
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,51 @@ | ||
--- | ||
name: 🐛 Bug Report | ||
about: If something isn't working as expected 🤔. | ||
--- | ||
|
||
<!-- | ||
Thank you for reporting an issue. | ||
Please fill in as much of the template below as you're able. | ||
--> | ||
|
||
- [ ] I have looked for existing issues (including closed) about this | ||
|
||
## Bug Report | ||
|
||
### Version | ||
|
||
<!-- | ||
List the version of `underway` you are using. | ||
--> | ||
|
||
### Platform | ||
|
||
<!--- | ||
Output of `uname -a` (UNIX), or version and 32 or 64-bit (Windows) | ||
--> | ||
|
||
### Crates | ||
|
||
<!-- | ||
If known, please specify the related tower-sessions crates. Otherwise, delete this | ||
section. | ||
--> | ||
|
||
### Description | ||
|
||
<!-- | ||
Enter your issue details below this comment. | ||
One way to structure the description: | ||
<short summary of the bug> | ||
I tried this code: | ||
<code sample that causes the bug> | ||
I expected to see this happen: <explanation> | ||
Instead, this happened: <explanation> | ||
--> |
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,4 @@ | ||
contact_links: | ||
- name: 🙏 GitHub Discussions | ||
url: https://github.com/maxcountryman/underway/discussions | ||
about: General support, questions-and-answers, feature requests, etc |
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,12 @@ | ||
version: 2 | ||
|
||
updates: | ||
- package-ecosystem: "cargo" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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,71 @@ | ||
name: Rust | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: {} | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
rustup toolchain install nightly --profile minimal --component rustfmt --component clippy | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: clippy | ||
run: | | ||
cargo clippy --all --all-targets --all-features -- -Dwarnings | ||
- name: rustfmt | ||
run: | | ||
cargo +nightly fmt --all -- --check | ||
check-docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
rustup toolchain install stable --profile minimal | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: cargo doc | ||
env: | ||
RUSTDOCFLAGS: "-D rustdoc::broken-intra-doc-links" | ||
run: | | ||
cargo doc --all-features --no-deps | ||
test-docs: | ||
needs: check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
rustup toolchain install nightly --profile minimal | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Run doc tests | ||
run: | | ||
cargo test --all-features --doc | ||
test-lib: | ||
needs: check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: | | ||
rustup toolchain install nightly --profile minimal | ||
cargo install cargo-tarpaulin | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Run lib tests | ||
run: | | ||
cargo test --workspace --all-features --lib | ||
cargo tarpaulin --workspace --all-features --lib -olcov | ||
- name: Upload coverage data to Codecov | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
fail_ci_if_error: true | ||
env: | ||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |