-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from COMBINE-lab/dev
Merge dev into main
- Loading branch information
Showing
13 changed files
with
574 additions
and
138 deletions.
There are no files selected for viewing
This file contains 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 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,38 @@ | ||
name: Sanitize Cargo | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
"contents": "write" | ||
|
||
jobs: | ||
sanitize_cargo_file: | ||
if: "contains(github.event.head_commit.message, '[do_tag]')" | ||
runs-on: ubuntu-latest | ||
# This is optional; it exposes the plan to your job as an environment variable | ||
#env: | ||
# PLAN: ${{ inputs.plan }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PAT_TOK }} | ||
- uses: dtolnay/rust-toolchain@stable | ||
- name: Install cargo-sanitize | ||
run: | | ||
cargo install cargo-sanitize | ||
- name: Sanitize Cargo.toml file | ||
run: | | ||
cp Cargo.toml Cargo.toml.cs_orig | ||
cargo-sanitize -i Cargo.toml.cs_orig -o Cargo.toml | ||
- name: Tag and push new commit | ||
run: | | ||
export VERSION_TAG=`cargo read-manifest | jq ".version" | tr -d '"'` | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "github-actions[bot]" | ||
git add Cargo.toml.cs_orig | ||
git add Cargo.toml | ||
git commit -m "create sanitized release" | ||
git tag --force -a v${VERSION_TAG} -m "version ${VERSION_TAG}" | ||
git push --force origin v${VERSION_TAG} |
This file contains 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "oarfish" | ||
version = "0.4.0" | ||
version = "0.5.0" | ||
edition = "2021" | ||
authors = [ | ||
"Zahra Zare Jousheghani <[email protected]>", | ||
|
@@ -31,29 +31,30 @@ categories = ["command-line-utilities", "science"] | |
|
||
[dependencies] | ||
seqcol_rs = { git = "https://github.com/COMBINE-lab/seqcol_rs", branch = "dev", version = "0.1.0" } | ||
anyhow = "1.0.81" | ||
bio-types = "1.0.1" | ||
clap = { version = "4.5.4", features = ["derive"] } | ||
anyhow = "1.0.86" | ||
bio-types = { version = "1.0.3", features = ["serde"] } | ||
clap = { version = "4.5.11", features = ["derive"] } | ||
coitrees = "0.4.0" | ||
noodles-bam = "0.56.0" | ||
noodles-gtf = "0.23.0" | ||
noodles-sam = "0.53.0" | ||
noodles-bam = "0.65.0" | ||
noodles-gtf = "0.30.0" | ||
noodles-sam = "0.62.0" | ||
num-format = "0.4.4" | ||
tabled = "0.15.0" | ||
tracing = "0.1.40" | ||
tracing-subscriber = {version="0.3.18", features=["env-filter"]} | ||
typed-builder = "0.18.1" | ||
typed-builder = "0.19.1" | ||
rayon = "1.10" | ||
statrs = "0.16" | ||
statrs = "0.17" | ||
csv = "1.3" | ||
ndarray = "0.15" | ||
serde = { version = "1", features = ["derive"] } | ||
itertools = "0.12.1" | ||
serde_json = "1.0.115" | ||
itertools = "0.13.0" | ||
serde_json = "1.0.121" | ||
path-tools = "0.1.0" | ||
atomic_float = "0.1.0" | ||
atomic_float = "1.0.0" | ||
rand = "0.8.5" | ||
arrow2 = { version = "0.18.0", features = ["io_parquet", "io_parquet_gzip", "io_parquet_zstd", "io_parquet_snappy"] } | ||
kders = { git = "https://github.com/COMBINE-lab/kde-rs.git", branch = "dev", version = "0.1.0" } | ||
|
||
[[bin]] | ||
name = "oarfish" | ||
|
@@ -72,9 +73,9 @@ lto = "thin" | |
# Config for 'cargo dist' | ||
[workspace.metadata.dist] | ||
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) | ||
cargo-dist-version = "0.12.0" | ||
cargo-dist-version = "0.19.1" | ||
# CI backends to support | ||
ci = ["github"] | ||
ci = "github" | ||
# The installers to generate for each app | ||
installers = ["shell"] | ||
# Target platforms to build apps for (Rust target-triple syntax) | ||
|
@@ -83,6 +84,8 @@ targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux- | |
pr-run-mode = "plan" | ||
# Whether to install an updater program | ||
install-updater = false | ||
# Path that installers should place binaries in | ||
install-path = "CARGO_HOME" | ||
|
||
[workspace.metadata.dist.github-custom-runners] | ||
aarch64-apple-darwin = "macos-14" |
This file contains 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 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.