1 parent a6e0e5f commit d1486dbCopy full SHA for d1486db
2 files changed
.github/workflows/ci.yml
@@ -21,7 +21,11 @@ jobs:
21
run: |
22
sudo curl -L https://github.com/goss-org/goss/releases/latest/download/goss-darwin-amd64 -o /usr/local/bin/goss
23
sudo chmod +rx /usr/local/bin/goss
24
+ - name: Copy install.sh to outside of the repository
25
+ run: |
26
+ cp ./install.sh /tmp/install.sh
27
- name: Run test
28
+ working-directory: /tmp
29
30
./install.sh
31
# Run script twice to test idempotency
install.sh
@@ -1,4 +1,6 @@
1
#!/bin/bash
2
+# Since this script is downloaded from GitHub and executed directly,
3
+# it must not depend on other files in the repository until chezmoi is run.
4
set -eu
5
6
account="mono0x"
0 commit comments