diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..b39f340 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,24 @@ +--- +name: Bug Report +about: Report a bug +--- + +## Description + +What happened? + +## Expected Behavior + +What should happen? + +## Steps to Reproduce + +1. +2. +3. + +## Environment + +- sheen version: +- Rust version: +- OS: diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..8cac742 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,16 @@ +--- +name: Feature Request +about: Suggest an idea +--- + +## Description + +What would you like? + +## Use Case + +Why do you need this? + +## Possible Implementation + +Any ideas on how to implement it? diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..9b8eb29 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,17 @@ +## Description + +Brief description of changes. + +## Type of Change + +- [ ] Bug fix +- [ ] New feature +- [ ] Documentation +- [ ] Refactor + +## Checklist + +- [ ] `cargo fmt` ran +- [ ] `cargo clippy` passes +- [ ] `cargo test` passes +- [ ] Updated README if needed diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..19904cc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: CI + +on: + push: + branches: [main, develop] + pull_request: + branches: [main, develop] + +env: + CARGO_TERM_COLOR: always + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - run: cargo fmt --check + - run: cargo clippy -- -D warnings + - run: cargo test + - run: cargo build --release