Skip to content
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

Add a Github Action to publish crate (runs in dry-mode for now) #7

Merged
merged 4 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Crate

on:
workflow_dispatch:

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- run: cargo publish --dry-run --token ${CRATES_TOKEN} -p antithesis_sdk
env:
CRATES_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
20 changes: 20 additions & 0 deletions lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@ name = "antithesis_sdk"
version = "0.1.0"
edition = "2021"
rust-version = "1.62.1"
license = "MIT"
readme = "../README.md"
keywords = ["antithesis", "testing", "fuzzing", "quality"]
categories= ["autonomous testing", "fuzzing", "continous reliability"]
repository = "https://github.com/antithesishq/antithesis-sdk-rust"
homepage = "https://github.com/antithesishq/antithesis-sdk-rust"
documentation = "https://antithesis.com/docs/using_antithesis/sdk/rust_sdk.html"
description = """
### **This SDK is still under development & not ready for adoption yet.**

# Antithesis Rust SDK

This library provides methods for Rust programs to configure the [Antithesis](https://antithesis.com) platform. It contains three kinds of functionality:
* Assertion macros that allow you to define test properties about your software or workload.
* Randomness functions for requesting both structured and unstructured randomness from the Antithesis platform.
* Lifecycle functions that inform the Antithesis environment that particular test phases or milestones have been reached.

For general usage guidance see the [Antithesis Rust SDK Documentation](https://antithesis.com/docs/using_antithesis/sdk/rust_sdk.html)

"""

[dependencies]
serde = { version = "1.0.113", features = ["derive"] }
Expand Down
Loading