-
Notifications
You must be signed in to change notification settings - Fork 1
release: v0.1.3 #52
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
Merged
Merged
release: v0.1.3 #52
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
f17b9ab
feat(rust): PORT-001 cargo workspace scaffold + adopt rust-canonical …
joshuaboys 3eae1b2
docs(branching): adopt main/dev model mirrored from anvil-001 (#45)
joshuaboys 3793467
chore: back-merge main into dev
joshuaboys d23af01
Merge pull request #48 from eddacraft/chore/sync-main-into-dev
joshuaboys f16cd39
chore: remove stale branch protection script
joshuaboys 47fcf12
chore(release): prepare v0.1.3
joshuaboys 1e896f0
feat(rust): kindling-types crate (PORT-002)
joshuaboys fbff8b8
docs(types): clarify Timestamp i64 alias with ts(type = "number") ove…
joshuaboys 88e3452
ci(rust): add explicit contents:read permissions
joshuaboys File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,85 @@ | ||
| name: rust | ||
|
|
||
| on: | ||
| push: | ||
| branches: [dev, main] | ||
| paths: | ||
| - 'crates/**' | ||
| - 'Cargo.toml' | ||
| - 'Cargo.lock' | ||
| - 'rust-toolchain.toml' | ||
| - '.github/workflows/rust.yml' | ||
| pull_request: | ||
| branches: [dev, main] | ||
| paths: | ||
| - 'crates/**' | ||
| - 'Cargo.toml' | ||
| - 'Cargo.lock' | ||
| - 'rust-toolchain.toml' | ||
| - '.github/workflows/rust.yml' | ||
|
|
||
| concurrency: | ||
| group: rust-${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| env: | ||
| CARGO_TERM_COLOR: always | ||
| RUST_BACKTRACE: 1 | ||
|
|
||
| jobs: | ||
| fmt: | ||
| name: cargo fmt | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| components: rustfmt | ||
| - run: cargo fmt --all -- --check | ||
|
|
||
| clippy: | ||
| name: cargo clippy | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| components: clippy | ||
| - uses: Swatinem/rust-cache@v2 | ||
| - run: cargo clippy --workspace --all-targets -- -D warnings | ||
|
|
||
| test: | ||
|
joshuaboys marked this conversation as resolved.
Fixed
|
||
| name: cargo test | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dtolnay/rust-toolchain@stable | ||
| - uses: Swatinem/rust-cache@v2 | ||
| - run: cargo test --workspace | ||
|
|
||
| ts-bindings: | ||
|
joshuaboys marked this conversation as resolved.
Fixed
|
||
| name: ts-rs bindings up to date | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dtolnay/rust-toolchain@stable | ||
| - uses: Swatinem/rust-cache@v2 | ||
| - run: cargo test -p kindling-types --features ts-rs | ||
| - name: Fail if bindings drifted | ||
| run: | | ||
| if ! git diff --exit-code -- crates/kindling-types/bindings; then | ||
| echo "::error::TypeScript bindings are out of date. Run: cargo test -p kindling-types --features ts-rs" | ||
| exit 1 | ||
| fi | ||
|
|
||
| build: | ||
|
joshuaboys marked this conversation as resolved.
Fixed
|
||
| name: cargo build --release | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: dtolnay/rust-toolchain@stable | ||
| - uses: Swatinem/rust-cache@v2 | ||
| - run: cargo build --workspace --release | ||
|
joshuaboys marked this conversation as resolved.
Fixed
|
||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.