fix(ci): use git clone instead of actions/checkout (no node in rust image)
This commit is contained in:
@@ -15,8 +15,11 @@ jobs:
|
|||||||
name: Test
|
name: Test
|
||||||
runs-on: rust
|
runs-on: rust
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Clone repo
|
||||||
|
run: |
|
||||||
|
git clone --depth 1 --branch ${{ github.ref_name }} \
|
||||||
|
${{ github.server_url }}/${{ github.repository }}.git .
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --all
|
run: cargo test --all
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,11 @@ jobs:
|
|||||||
name: Test
|
name: Test
|
||||||
runs-on: rust
|
runs-on: rust
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Clone repo
|
||||||
|
run: |
|
||||||
|
git clone --depth 1 --branch ${{ github.ref_name }} \
|
||||||
|
${{ github.server_url }}/${{ github.repository }}.git .
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --all
|
run: cargo test --all
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user