Skip to content

Commit 9e60728

Browse files
chore(cli): migrate to Cargo workspaces (#380)
* chore(cli): migrate to workspaces Signed-off-by: KeisukeYamashita <[email protected]> * fix(cli): e2e testing path Signed-off-by: KeisukeYamashita <[email protected]> --------- Signed-off-by: KeisukeYamashita <[email protected]>
1 parent c234e90 commit 9e60728

33 files changed

+243
-247
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- uses: mig4/setup-bats@v1
4646
with:
4747
bats-version: 1.9.0
48-
- run: bats e2e --filter-tags ${{ matrix.tag }}
48+
- run: bats cli/e2e --filter-tags ${{ matrix.tag }}
4949

5050
test:
5151
runs-on: ubuntu-latest

.github/workflows/release.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ concurrency:
88
group: ${{ github.workflow }}
99
cancel-in-progress: false
1010

11+
defaults:
12+
run:
13+
working-directory: ./cli
14+
1115
permissions:
1216
contents: write # To write to release
1317
id-token: write # To deploy to GitHub Pages
@@ -109,6 +113,7 @@ jobs:
109113
110114
- uses: docker/build-push-action@v6
111115
with:
116+
context: ./cli
112117
platforms: linux/amd64,linux/arm64
113118
push: true
114119
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)