Skip to content

Commit 12d2d99

Browse files
committed
ci: add GitHub Actions CI pipeline, issue templates, and dependabot updates
1 parent 4e5d9f4 commit 12d2d99

4 files changed

Lines changed: 94 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
name: 🐛 Bug report
3+
about: Create a report to help us improve RingLog
4+
title: '[BUG] <Short description of the bug>'
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+
**Reproduction Steps**
14+
Steps to reproduce the behavior:
15+
1. Run server: `cargo run -- server`
16+
2. Run consumer / producer: `...`
17+
3. See error: `...`
18+
19+
**Expected Behavior**
20+
A clear and concise description of what you expected to happen.
21+
22+
**Environment (please complete the following information):**
23+
- Linux Kernel version (`uname -r`):
24+
- Rust toolchain version (`rustc --version`):
25+
- CPU architecture:
26+
27+
**Additional Context**
28+
Add any other context, stack traces, console logs, or details about the issue here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: 🚀 Feature request
3+
about: Suggest an idea or feature addition for RingLog
4+
title: '[FEAT] <Short description of the proposed feature>'
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 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, API design notes, or diagrams about the feature request here.

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "cargo"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 5
8+
labels:
9+
- "dependencies"
10+
- "rust"

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
name: Build & Test
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout Source Code
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Rust Toolchain
22+
uses: dtolnay/rust-toolchain@stable
23+
with:
24+
components: rustfmt, clippy
25+
26+
- name: Cache Cargo Dependencies
27+
uses: Swatinem/rust-cache@v2
28+
29+
- name: Check Code Formatting
30+
run: cargo fmt --all --check
31+
32+
- name: Run Clippy Linter
33+
run: cargo clippy -- -D warnings
34+
35+
- name: Build Codebase
36+
run: cargo build --verbose

0 commit comments

Comments
 (0)