Skip to content

Commit 30753cd

Browse files
committed
fix: use vendoring to bypass network access during install
1 parent e5a1ab6 commit 30753cd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.cargo/config.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ v-clippy = "__vendored clippy"
1111
v-build = "__vendored build"
1212
v-run = "__vendored run"
1313
v-test = "__vendored test"
14+
v-install = "__vendored install"
1415

1516
v = "vendor --verbose --versioned-dirs"
1617

1718
[source.vendored-sources]
18-
directory = "vendor"
19+
directory = "vendor"

.github/workflows/push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
uses: actions-rust-lang/setup-rust-toolchain@v1
3737

3838
- name: Fetch cargo dependencies
39-
run: cargo fetch --verbose --locked
39+
run: cargo v --locked
4040

4141
- name: Install git-remote-codecommit
42-
run: cargo install --frozen --profile=release-lto --path=crates/git-remote-codecommit
42+
run: cargo v-install --frozen --profile=release-lto --path=crates/git-remote-codecommit
4343

4444
- name: Check version
4545
run: git-remote-codecommit --version

0 commit comments

Comments
 (0)