Skip to content

Commit

Permalink
updatera version
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-thomas committed Sep 28, 2023
1 parent efff132 commit a550c84
Show file tree
Hide file tree
Showing 16 changed files with 23 additions and 18 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,18 @@ env:
jobs:
build-test:
name: Build and test

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo check
- name: Run tests
run: cargo test --verbose
run: cargo test

bench:
name: Benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Benchmark
run: cargo bench
run: cargo bench
15 changes: 11 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,23 @@ env:
jobs:
publish:
name: Build and test

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo check --verbose
run: cargo check
- name: Run tests
run: cargo test --verbose
- name: publish
run: cargo test
- name: Publish clier
run: cargo publish --token ${{ secrets.CARGO_TOKEN}} -p clier
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
- name: Publish clier_parser
run: cargo publish --token ${{ secrets.CARGO_TOKEN}} -p clier_parser
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
- name: Publish clier_cli
run: cargo publish --token ${{ secrets.CARGO_TOKEN}} -p clier_cli
env:
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }}
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[workspace]
members = ["clier", "clier_app", "clier_parser"]
members = ["clier", "clier_cli", "clier_parser"]
4 changes: 2 additions & 2 deletions clier/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clier"
version = "0.5.0"
version = "0.6.1"
edition = "2021"
authors = ["Vincent Thomas"]
description = "A cli parser and framework for rust"
Expand All @@ -23,7 +23,7 @@ harness = false
[dependencies]
console = "0.15.7"
thiserror = "1.0.48"
clier_parser = { version = "0.5.0", path = "../clier_parser" }
clier_parser = { version = "0.5.1", path = "../clier_parser" }


[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions clier_app/Cargo.toml → clier_cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clier_app"
version = "0.1.0"
name = "clier_cli"
version = "0.6.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion clier_parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clier_parser"
version = "0.5.0"
version = "0.6.1"
edition = "2021"
authors = ["Vincent Thomas"]
description = "The underlying parser for the cli framework clier"
Expand Down

0 comments on commit a550c84

Please sign in to comment.