File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # These are supported funding model platforms
2+
3+ github : # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+ patreon : # Replace with a single Patreon username
5+ open_collective : # Replace with a single Open Collective username
6+ ko_fi : # Replace with a single Ko-fi username
7+ tidelift : # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+ community_bridge : # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+ liberapay : # Replace with a single Liberapay username
10+ issuehunt : # Replace with a single IssueHunt username
11+ otechie : # Replace with a single Otechie username
12+ lfx_crowdfunding : # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+ custom : # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Original file line number Diff line number Diff line change 1+ ---
2+ name : Bug Report
3+ about : Create a report to help us improve
4+ title : ' '
5+ labels : bug
6+ assignees : ' '
7+
8+ ---
9+
10+ ** Describe the bug**
11+ A clear and concise description of what the bug is.
12+
13+ ** To Reproduce**
14+ Steps to reproduce the behavior:
15+ 1 . Go to '...'
16+ 2 . Click on '....'
17+ 3 . Scroll down to '....'
18+ 4 . See error
19+
20+ ** Expected behavior**
21+ A clear and concise description of what you expected to happen.
22+
23+ ** Screenshots**
24+ If applicable, add screenshots to help explain your problem.
25+
26+ ** Environment (please complete the following information):**
27+ - OS: [ e.g. Ubuntu 20.04, Windows 10, macOS 12.0]
28+ - Rust Version: [ e.g. 1.65.0]
29+ - Core Web Version: [ e.g. 1.2.3]
30+ - Browser [ if applicable] : [ e.g. chrome, safari]
31+
32+ ** Additional context**
33+ Add any other context about the problem here.
Original file line number Diff line number Diff line change 1+ ---
2+ name : Feature Request
3+ about : Suggest an idea for this project
4+ title : ' '
5+ labels : enhancement
6+ assignees : ' '
7+
8+ ---
9+
10+ ** Is your feature request related to a problem? Please describe.**
11+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [ ...]
12+
13+ ** Describe the solution you'd like**
14+ A clear and concise description of what you want to happen.
15+
16+ ** Describe alternatives you've considered**
17+ A clear and concise description of any alternative solutions or features you've considered.
18+
19+ ** Additional context**
20+ Add any other context or screenshots about the feature request here.
Original file line number Diff line number Diff line change 1+ ## Description
2+
3+ Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
4+
5+ Fixes # (issue)
6+
7+ ## Type of change
8+
9+ Please delete options that are not relevant.
10+
11+ - [ ] Bug fix (non-breaking change which fixes an issue)
12+ - [ ] New feature (non-breaking change which adds functionality)
13+ - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
14+ - [ ] This change requires a documentation update
15+
16+ ## How Has This Been Tested?
17+
18+ Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
19+
20+ - [ ] Test A
21+ - [ ] Test B
22+
23+ ** Test Configuration** :
24+ * Firmware version:
25+ * Hardware:
26+ * Toolchain:
27+ * SDK:
28+
29+ ## Checklist:
30+
31+ - [ ] My code follows the style guidelines of this project
32+ - [ ] I have performed a self-review of my own code
33+ - [ ] I have commented my code, particularly in hard-to-understand areas
34+ - [ ] I have made corresponding changes to the documentation
35+ - [ ] My changes generate no new warnings
36+ - [ ] I have added tests that prove my fix is effective or that my feature works
37+ - [ ] New and existing unit tests pass locally with my changes
38+ - [ ] Any dependent changes have been merged and published in downstream modules
Original file line number Diff line number Diff line change 1+ name : Cross-Platform Tests
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ test :
11+ strategy :
12+ matrix :
13+ os : [ubuntu-latest, windows-latest, macos-latest]
14+ rust : [stable, beta]
15+
16+ runs-on : ${{ matrix.os }}
17+
18+ steps :
19+ - uses : actions/checkout@v3
20+
21+ - name : Install Rust
22+ uses : actions-rs/toolchain@v1
23+ with :
24+ toolchain : ${{ matrix.rust }}
25+ profile : minimal
26+ override : true
27+
28+ - name : Run tests
29+ run : cargo test --verbose
Original file line number Diff line number Diff line change 1+ name : Documentation
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ docs :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+
15+ - name : Install Rust
16+ uses : actions-rs/toolchain@v1
17+ with :
18+ toolchain : stable
19+ profile : minimal
20+ override : true
21+
22+ - name : Build documentation
23+ run : cargo doc --no-deps --all-features
24+
25+ - name : Deploy to GitHub Pages
26+ if : github.ref == 'refs/heads/main'
27+ uses : peaceiris/actions-gh-pages@v3
28+ with :
29+ github_token : ${{ secrets.GITHUB_TOKEN }}
30+ publish_dir : ./target/doc
Original file line number Diff line number Diff line change 1+ name : Formatting
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+
9+ jobs :
10+ fmt :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+
15+ - name : Install Rust
16+ uses : actions-rs/toolchain@v1
17+ with :
18+ toolchain : stable
19+ profile : minimal
20+ override : true
21+ components : rustfmt
22+
23+ - name : Check formatting
24+ run : cargo fmt --all -- --check
25+
26+ clippy :
27+ runs-on : ubuntu-latest
28+ steps :
29+ - uses : actions/checkout@v3
30+
31+ - name : Install Rust
32+ uses : actions-rs/toolchain@v1
33+ with :
34+ toolchain : stable
35+ profile : minimal
36+ override : true
37+ components : clippy
38+
39+ - name : Clippy check
40+ run : cargo clippy --all-targets --all-features -- -D warnings
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ create-release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v3
13+
14+ - name : Create Release
15+ uses : actions/create-release@v1
16+ env :
17+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18+ with :
19+ tag_name : ${{ github.ref }}
20+ release_name : Release ${{ github.ref }}
21+ draft : false
22+ prerelease : false
23+
24+ publish-crate :
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : actions/checkout@v3
28+
29+ - name : Install Rust
30+ uses : actions-rs/toolchain@v1
31+ with :
32+ toolchain : stable
33+ profile : minimal
34+ override : true
35+
36+ - name : Publish to Crates.io
37+ run : cargo publish --token ${CRATES_TOKEN}
38+ env :
39+ CRATES_TOKEN : ${{ secrets.CRATES_TOKEN }}
Original file line number Diff line number Diff line change 1515 A production-ready, multi-protocol web platform built with Rust
1616 <br>
1717 <br>
18- <a href="https://github.com/your-org/core-web/actions"><img src="https://github.com/your-org/core-web/workflows/CI/badge.svg" alt="CI Status"></a>
18+ <a href="https://github.com/your-org/core-web/actions/workflows/ci.yml"><img src="https://github.com/your-org/core-web/actions/workflows/ci.yml/badge.svg" alt="CI Status"></a>
19+ <a href="https://github.com/your-org/core-web/actions/workflows/codeql.yml"><img src="https://github.com/your-org/core-web/actions/workflows/codeql.yml/badge.svg" alt="CodeQL Status"></a>
20+ <a href="https://github.com/your-org/core-web/actions/workflows/security-audit.yml"><img src="https://github.com/your-org/core-web/actions/workflows/security-audit.yml/badge.svg" alt="Security Audit Status"></a>
1921 <a href="https://crates.io/crates/core-web"><img src="https://img.shields.io/crates/v/core-web.svg" alt="Crates.io"></a>
2022 <a href="https://docs.rs/core-web"><img src="https://docs.rs/core-web/badge.svg" alt="Documentation"></a>
2123 <a href="LICENSE"><img src="https://img.shields.io/crates/l/core-web.svg" alt="License"></a>
You can’t perform that action at this time.
0 commit comments