Skip to content

Commit 479865b

Browse files
committed
use working dir instead of manual cd
1 parent fbcf6ce commit 479865b

File tree

4 files changed

+54
-30
lines changed

4 files changed

+54
-30
lines changed

.github/workflows/dart-build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ on:
44
push:
55
pull_request:
66

7+
defaults:
8+
run:
9+
working-directory: dargon2
10+
711
jobs:
812
test:
913
runs-on: ubuntu-latest
1014
container:
1115
image: google/dart:latest
1216
steps:
1317
- uses: actions/checkout@v2
18+
- name: Install dependencies
19+
run: pub get
1420
- name: Run tests
15-
run: |
16-
cd dargon2
17-
pub get
18-
pub run test
21+
run: pub run test

.github/workflows/docbot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches: [ main ]
66

7+
defaults:
8+
run:
9+
working-directory: dargon2
10+
711
jobs:
812
update-docs:
913

.github/workflows/library-builder.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Library Builder CI
22

33
on:
44
repository_dispatch:
5+
workflow_dispatch:
6+
7+
defaults:
8+
run:
9+
working-directory: dargon2
510

611
jobs:
712
linux-build:

.idea/workspace.xml

Lines changed: 38 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)