-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: updating README and adding github CI / issue templates
- Loading branch information
Showing
5 changed files
with
142 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,34 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Describe the bug | ||
|
||
... | ||
|
||
### To Reproduce | ||
|
||
Steps to reproduce the behavior: | ||
|
||
### Expected behavior | ||
|
||
... | ||
|
||
### Screenshots | ||
|
||
If applicable, add screenshots to help explain your problem. | ||
|
||
### Versions & OS Details | ||
|
||
- OS: [e.g. linux/bsd] | ||
- Distribution [e.g. Ubuntu/Arch] | ||
- OS Version [e.g. 20.04 LTS] | ||
- ad Version [point version from crates.io or hash of develop] | ||
|
||
### Additional context | ||
|
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,19 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Please describe the change / addition you'd like to see made | ||
|
||
- Is this completely new functionality, or an enhancement to existing functionality? | ||
- What kind of feature is it that you are requesting? | ||
|
||
|
||
### Is this a feature you have seen in other text editors? | ||
|
||
If so, please provide any links or reference to the existing implementation | ||
and some details on how the feature is used. |
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,17 @@ | ||
--- | ||
name: Question | ||
about: Ask a question about how ad works | ||
title: 'Question: ...' | ||
labels: question | ||
assignees: '' | ||
|
||
--- | ||
|
||
### Before raising an issue... | ||
|
||
There are a number of resources available that might already have the answer you're after! | ||
Please make sure you have checked them before raising a new issue: | ||
- [Existing GitHub issues](https://github.com/sminez/ad/issues) | ||
- [docs.rs docs](https://docs.rs/ad-editor) | ||
|
||
If what you are after isn't in there then ask away! |
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,69 @@ | ||
name: Build | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_LOG: info | ||
RUST_BACKTRACE: 1 | ||
|
||
jobs: | ||
test: | ||
name: Test Rust ${{ matrix.rust }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
rust: [stable, beta, nightly] | ||
features: ["default", "default,serde"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: hecrj/setup-rust-action@v1 | ||
with: | ||
rust-version: ${{ matrix.rust }} | ||
|
||
- name: Run tests | ||
run: cargo test --workspace --features ${{ matrix.features }} --verbose | ||
|
||
rustfmt: | ||
name: Ensure rustfmt is happy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: hecrj/setup-rust-action@v1 | ||
with: | ||
components: rustfmt | ||
- run: cargo fmt --all -- --check | ||
|
||
clippy: | ||
name: Lint the codebase with clippy | ||
runs-on: ubuntu-latest | ||
# env: | ||
# RUSTFLAGS: -Dwarnings | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: hecrj/setup-rust-action@v1 | ||
with: | ||
components: clippy | ||
- uses: actions-rs/clippy-check@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
args: --workspace --all-targets --all-features --examples --tests | ||
|
||
rustdoc-links: | ||
name: Check doc links are valid | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: hecrj/setup-rust-action@v1 | ||
with: | ||
rust-version: nightly | ||
- run: cargo rustdoc --all-features |
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