Skip to content

Commit

Permalink
enhanced publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jofas committed Apr 27, 2023
1 parent 1026441 commit 909348a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ jobs:
uses: Swatinem/rust-cache@v2
- name: Install toml-cli
run: cargo install toml-cli
- name: Extract Cargo.toml Version
run: echo "CRATE_VERSION=$(toml get -r Cargo.toml package.version)" >> "$GITHUB_ENV"
- name: Check Version
run: test "${{ format('v{0}', env.CRATE_VERSION) }}" = "${{ github.ref_name }}"
run: test "v$(toml get -r Cargo.toml package.version)" = "${{ github.ref_name }}"
- name: Publish
run: cargo publish
env:
Expand Down

1 comment on commit 909348a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Benchmark suite Current: 909348a Previous: 1026441 Ratio
map allocation 205419636 ns/iter (± 2566333) 172302047 ns/iter (± 75142) 1.19
set allocation 247522165 ns/iter (± 2744319) 209801159 ns/iter (± 442377) 1.18
vec_no_clone allocation 1040478674 ns/iter (± 8510469) 828871921 ns/iter (± 3443114) 1.26

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.