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
|
||||
runs-on: rust
|
||||
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
|
||||
run: cargo test --all
|
||||
|
||||
|
||||
@@ -15,8 +15,11 @@ jobs:
|
||||
name: Test
|
||||
runs-on: rust
|
||||
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
|
||||
run: cargo test --all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user