Skip to content

Commit 4c6f2d0

Browse files
committed
install defang before checks scripts
1 parent 1b0b8ee commit 4c6f2d0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/check-sample.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
# Fetch two to see changes in current commit
1919
fetch-depth: 2
2020

21+
- name: Install Defang
22+
run: |
23+
. <(curl -Ls https://s.defang.io/install)
24+
2125
- name: Run Checks
2226
id: checks
2327
run: |

scripts/check-sample-files.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash
22

3-
. <(curl -Ls https://s.defang.io/install)
4-
53
for dir in ./samples/*/; do
64
# set variable pulumi to true if there is a Pulumi.yaml file in the directory, or there is a directory called pulumi
75
pulumi=false

0 commit comments

Comments
 (0)