-
Notifications
You must be signed in to change notification settings - Fork 0
Initial project structure and core crates #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,74 @@ | ||||||||||||||||||
| name: CI | ||||||||||||||||||
|
|
||||||||||||||||||
| on: | ||||||||||||||||||
| push: | ||||||||||||||||||
| branches: [main, master] | ||||||||||||||||||
| pull_request: | ||||||||||||||||||
| branches: [main, master] | ||||||||||||||||||
|
|
||||||||||||||||||
| env: | ||||||||||||||||||
| CARGO_TERM_COLOR: always | ||||||||||||||||||
| RUST_BACKTRACE: 1 | ||||||||||||||||||
|
|
||||||||||||||||||
| jobs: | ||||||||||||||||||
| test: | ||||||||||||||||||
| name: Test | ||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||
| steps: | ||||||||||||||||||
| - uses: actions/checkout@v4 | ||||||||||||||||||
|
|
||||||||||||||||||
| - name: Install Rust toolchain | ||||||||||||||||||
| uses: dtolnay/rust-action@stable | ||||||||||||||||||
|
|
||||||||||||||||||
| - name: Cache cargo registry | ||||||||||||||||||
| uses: actions/cache@v4 | ||||||||||||||||||
| with: | ||||||||||||||||||
| path: | | ||||||||||||||||||
| ~/.cargo/registry | ||||||||||||||||||
| ~/.cargo/git | ||||||||||||||||||
| target | ||||||||||||||||||
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||||||||||||||||||
| restore-keys: | | ||||||||||||||||||
| ${{ runner.os }}-cargo- | ||||||||||||||||||
|
|
||||||||||||||||||
| - name: Run tests | ||||||||||||||||||
| run: cargo test --workspace --all-features | ||||||||||||||||||
|
|
||||||||||||||||||
| clippy: | ||||||||||||||||||
| name: Clippy | ||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||
| steps: | ||||||||||||||||||
| - uses: actions/checkout@v4 | ||||||||||||||||||
|
|
||||||||||||||||||
| - name: Install Rust toolchain | ||||||||||||||||||
| uses: dtolnay/rust-action@stable | ||||||||||||||||||
| with: | ||||||||||||||||||
| components: clippy | ||||||||||||||||||
|
Comment on lines
+43
to
+46
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same action name issue in clippy job. 🔎 Proposed fix - name: Install Rust toolchain
- uses: dtolnay/rust-action@stable
+ uses: dtolnay/rust-toolchain@stable
with:
components: clippy📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||
|
|
||||||||||||||||||
| - name: Cache cargo registry | ||||||||||||||||||
| uses: actions/cache@v4 | ||||||||||||||||||
| with: | ||||||||||||||||||
| path: | | ||||||||||||||||||
| ~/.cargo/registry | ||||||||||||||||||
| ~/.cargo/git | ||||||||||||||||||
| target | ||||||||||||||||||
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||||||||||||||||||
| restore-keys: | | ||||||||||||||||||
| ${{ runner.os }}-cargo- | ||||||||||||||||||
|
|
||||||||||||||||||
| - name: Run clippy | ||||||||||||||||||
| run: cargo clippy --workspace --all-features -- -D warnings | ||||||||||||||||||
|
|
||||||||||||||||||
| fmt: | ||||||||||||||||||
| name: Format | ||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||
| steps: | ||||||||||||||||||
| - uses: actions/checkout@v4 | ||||||||||||||||||
|
|
||||||||||||||||||
| - name: Install Rust toolchain | ||||||||||||||||||
| uses: dtolnay/rust-action@stable | ||||||||||||||||||
| with: | ||||||||||||||||||
| components: rustfmt | ||||||||||||||||||
|
Comment on lines
+68
to
+71
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same action name issue in fmt job. 🔎 Proposed fix - name: Install Rust toolchain
- uses: dtolnay/rust-action@stable
+ uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||
|
|
||||||||||||||||||
| - name: Check formatting | ||||||||||||||||||
| run: cargo fmt --all -- --check | ||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
dtolnay/rust-toolchain GitHub action💡 Result:
dtolnay/rust-toolchain is a small GitHub Action that installs a Rust toolchain via rustup with concise defaults and one-line usage. Example usage:
(or pin to a tag/commit like @1.89.0 or @nightly)
Key details:
Sources: [1], [2].
Sources
[1] dtolnay/rust-toolchain (GitHub repository README and action.yml).
[2] rust-toolchain (GitHub Marketplace entry).
Replace
dtolnay/rust-action@stablewithdtolnay/rust-toolchain@stable.The action
dtolnay/rust-action@stabledoes not exist. The correct action isdtolnay/rust-toolchain@stable.📝 Committable suggestion
🤖 Prompt for AI Agents