| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a291b7c commit 415bca9
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,10 @@ | |||
| 1 | 1 | name: "Use a custom `checkout_path`" | |
| 2 | 2 | description: "Checks that a custom `checkout_path` will find the proper commit_oid" | |
| 3 | 3 | steps: | |
| 4 | + # This ensures we don't accidentally use the original checkout for any part of the test. | ||
| 5 | + - name: Delete original checkout | ||
| 6 | + run: | | ||
| 7 | + rm -rf . | ||
| 4 | 8 | # Check out the actions repo again, but at a different location. | |
| 5 | 9 | # choose an arbitrary SHA so that we can later test that the commit_oid is not from main | |
| 6 | 10 | - uses: actions/checkout@v4 | |
@@ -12,7 +16,7 @@ steps: | |||
| 12 | 16 | tools: ${{ steps.prepare-test.outputs.tools-url }} | |
| 13 | 17 | # it's enough to test one compiled language and one interpreted language | |
| 14 | 18 | languages: csharp,javascript | |
| 15 | - source-path: x/y/z/some-path/tests/multi-language-repo | ||
| 19 | + source-root: x/y/z/some-path/tests/multi-language-repo | ||
| 16 | 20 | debug: true | |
| 17 | 21 | - name: Build code (non-windows) | |
| 18 | 22 | shell: bash | |
| Back | FazBrowse Home | New Git URL |
0 commit comments