Skip to content

Commit dfd0b3e

Browse files
committed
ci: add cache
1 parent 6c04c51 commit dfd0b3e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/pr.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,24 @@ jobs:
8787
- name: Install node modules
8888
run: bun i --frozen-lockfile
8989

90+
- name: Set up Docker Buildx
91+
uses: docker/setup-buildx-action@v3
92+
93+
- name: Build cargo-msfs image
94+
uses: docker/build-push-action@v5
95+
with:
96+
context: .
97+
file: Dockerfile
98+
tags: navigation-data-interface-wasm-build
99+
cache-from: type=gha
100+
cache-to: type=gha
101+
102+
- name: Cache target directories
103+
uses: actions/cache@v4
104+
with:
105+
path: targets
106+
key: rust-targets
107+
90108
- name: Build WASM
91109
run: bun run build:wasm && bun run package
92110

0 commit comments

Comments
 (0)