mirror of
https://github.com/obi1kenobi/cargo-semver-checks-action.git
synced 2024-11-23 00:19:32 +01:00
Get rid of fetch-depth: 0 in test-manifest-path-with-space
This commit is contained in:
parent
705cfec6cc
commit
1fb47cb228
1 changed files with 3 additions and 6 deletions
9
.github/workflows/test-inputs.yml
vendored
9
.github/workflows/test-inputs.yml
vendored
|
@ -157,23 +157,19 @@ jobs:
|
||||||
name: Test input manifest-path against path containing space
|
name: Test input manifest-path against path containing space
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the test repository
|
- name: Checkout the test repository and test with patch change and patch version bump
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
# Space inside the directory name is used in order to ensure it will
|
# Space inside the directory name is used in order to ensure it will
|
||||||
# be handled properly by the action.
|
# be handled properly by the action.
|
||||||
path: 'ref slice'
|
path: 'ref slice'
|
||||||
repository: mgr0dzicki/cargo-semver-action-ref-slice
|
repository: mgr0dzicki/cargo-semver-action-ref-slice
|
||||||
fetch-depth: 0
|
ref: patch_change
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
- name: Checkout the action
|
- name: Checkout the action
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
path: action
|
path: action
|
||||||
- name: Checkout the test with patch change and patch version bump
|
|
||||||
run: |
|
|
||||||
cd "ref slice"
|
|
||||||
git checkout patch_change
|
|
||||||
- name: Run the action
|
- name: Run the action
|
||||||
uses: ./action/
|
uses: ./action/
|
||||||
with:
|
with:
|
||||||
|
@ -181,6 +177,7 @@ jobs:
|
||||||
- name: Checkout the test with major change and patch version bump
|
- name: Checkout the test with major change and patch version bump
|
||||||
run: |
|
run: |
|
||||||
cd "ref slice"
|
cd "ref slice"
|
||||||
|
git fetch origin major_change
|
||||||
git checkout major_change
|
git checkout major_change
|
||||||
- name: Run the action (allowed to fail)
|
- name: Run the action (allowed to fail)
|
||||||
id: action_major
|
id: action_major
|
||||||
|
|
Loading…
Reference in a new issue