Skip to content

Commit ec8a772

Browse files
feat: COW workspace caching for local runs (#26)
1 parent ce410ac commit ec8a772

17 files changed

Lines changed: 1273 additions & 221 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ jobs:
118118
- name: Build hm
119119
run: cargo build -p harmont-cli
120120

121+
- name: Enable FUSE allow_other
122+
run: sudo sed -i 's/#user_allow_other/user_allow_other/' /etc/fuse.conf
123+
121124
- name: Restore harmont Docker cache
122125
uses: actions/cache/restore@v4
123126
with:

.github/workflows/examples.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ jobs:
109109
- name: Mark hm executable
110110
run: chmod +x bin/hm
111111

112+
- name: Enable FUSE allow_other
113+
run: sudo sed -i 's/#user_allow_other/user_allow_other/' /etc/fuse.conf
114+
112115
- name: Run example via hm run
113116
working-directory: examples/${{ matrix.example }}
114117
env:

Cargo.lock

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</p>
1212

1313
<p align="center">
14-
<a href="https://harmont.dev">Website</a> · <a href="https://harmont.dev/docs">Docs</a> · <a href="https://join.slack.com/t/harmont-dev/shared_invite/zt-3yt0tiv7r-qHm1O0p0nVh2GU~KKhUk9A">Slack</a>
14+
<a href="https://harmont.dev">Website</a> · <a href="https://docs.harmont.dev">Docs</a> · <a href="https://join.slack.com/t/harmont-dev/shared_invite/zt-3yt0tiv7r-qHm1O0p0nVh2GU~KKhUk9A">Slack</a>
1515
</p>
1616

1717
> [!WARNING]
@@ -174,7 +174,7 @@ Go, Python, Java, C++, React, Next.js, and more.
174174
## Documentation
175175

176176
For the full pipeline reference, rich examples, and more — see the
177-
[docs](https://harmont.dev/docs).
177+
[docs](https://docs.harmont.dev).
178178

179179
## License
180180

crates/hm-util/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ repository.workspace = true
77
description = "Shared OS and filesystem utilities for Harmont crates."
88

99
[dependencies]
10+
anyhow = { workspace = true }
1011
dirs = "6"
12+
tempfile = "3"
1113
tokio = { version = "1", features = ["rt", "rt-multi-thread", "fs", "io-util"] }
14+
tracing = { workspace = true }
15+
which = "6"
1216

1317
[target.'cfg(windows)'.dependencies.windows]
1418
version = "0.62"

0 commit comments

Comments
 (0)