Skip to content

Commit

Permalink
build: add new binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
ifiokjr committed Sep 13, 2024
1 parent 779ecf9 commit 2bb3f40
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 11 deletions.
6 changes: 2 additions & 4 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
[alias]
# bins
insta = ["bin", "cargo-insta"]
llvm-cov = ["bin", "cargo-llvm-cov"]
nextest = ["bin", "cargo-nextest"]
insta = ["bin", "cargo-insta"]
mutants = ["bin", "cargo-mutants"]
make = ["bin", "cargo-make"]
semver-checks = ["bin", "cargo-semver-checks"]
2 changes: 1 addition & 1 deletion .github/actions/devenv/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ runs:
uses: actions/cache@v4
with:
path: ./.bin
key: ${{ runner.os }}-cargo-bin-${{ hashFiles('rust-toolchain.toml') }}-${{ env.RUSTUP_TOOLCHAIN }}
key: ${{ runner.os }}-cargo-bin-${{ env.RUSTUP_TOOLCHAIN }}-${{ hashFiles('rust-toolchain.toml', 'Cargo.toml') }}
restore-keys: |
${{ runner.os }}-cargo-bin-
Expand Down
2 changes: 0 additions & 2 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ anchor-cli = { version = "0.30.1", bins = ["anchor"] }
cargo-insta = { version = "1.40.0" }
cargo-llvm-cov = { version = "0.6.10" }
cargo-nextest = { version = "0.9.72" }
release-plz = { version = "0.3.87", bins = ["release-plz"] }
cargo-semver-checks = { version = "0.35.0" }

[workspace.lints.rust]
# Group lints
Expand Down
8 changes: 4 additions & 4 deletions devenv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1726144775,
"lastModified": 1726159477,
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d5d601581e5f1b2e17becb3cb940530cd91582ce",
"rev": "9908000d505c5ef87bfc4940e7b2e62154a74dd8",
"type": "github"
},
"original": {
Expand All @@ -83,10 +83,10 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1726042813,
"lastModified": 1726108120,
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "159be5db480d1df880a0135ca0bfed84c2f88353",
"rev": "111ed8812c10d7dc3017de46cbf509600c93f551",
"type": "github"
},
"original": {
Expand Down
7 changes: 7 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
'';
description = "The `anchor` executable";
};
scripts."release-plz"= {
exec = ''
set -e
cargo bin release-plz $@
'';
description = "The `release-plz` executable";
};
scripts.wasm-pack = {
exec = ''
set -e
Expand Down

0 comments on commit 2bb3f40

Please sign in to comment.