Skip to content

Commit

Permalink
feat: after_all_cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisGorbachev committed Jan 27, 2025
1 parent a6faec1 commit 91e3333
Show file tree
Hide file tree
Showing 10 changed files with 360 additions and 106 deletions.
37 changes: 13 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,21 @@ jobs:
- nightly
timeout-minutes: 45
steps:
-
uses: actions/checkout@v4
-
uses: dtolnay/rust-toolchain@stable
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
with:
version: 2024.11.37
- name: Remove rust from mise
run: |
# a different rust version will be installed in the next step
mise rm rust
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
components: clippy, rustfmt
-
uses: taiki-e/install-action@nextest
-
uses: actions/setup-node@v4
with:
node-version: lts/Iron # 20
-
uses: denoland/setup-deno@v1
with:
deno-version: v1.45.x
-
run: ./install.sh
-
uses: Swatinem/[email protected]
-
run: lefthook run --force pre-commit
-
run: cargo hack test --feature-powerset
-
name: Validate PR commits with commitlint
- uses: Swatinem/[email protected]
- run: lefthook run --force pre-commit
- run: cargo hack test --feature-powerset
- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
232 changes: 227 additions & 5 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ clap = { version = "4.3.24", features = ["derive", "env"] }
derive-new = "0.7.0"
derive_setters = "0.1.6"
fs_extra = "1.3.0"
hedgehog-rs = { version = "0.1.8" }
tokio = { version = "1.40.0", features = ["full", "process"] }
33 changes: 0 additions & 33 deletions Justfile

This file was deleted.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ Options:
[default: "git push"]
--after-all-cmd <AFTER_ALL_CMD>
Shell command to execute after all other commands (supports substitutions - see help below)
-s, --support-link-probability <SUPPORT_LINK_PROBABILITY>
The probability of seeing a support link in a single execution of the command is `1 / {{this-field-value}}`.
Expand Down
Loading

0 comments on commit 91e3333

Please sign in to comment.