ci: fix CI
This commit is contained in:
1 parent
bfa0838989
commit
d19b660e8b
1 file changed
+8
-1
@@ -9,8 +9,15 @@ jobs:
|
|||||||
image: rust:alpine
|
image: rust:alpine
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install Git
|
||||||
|
run: apk add --no-cache git
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
env:
|
||||||
|
REPO_TOKEN: ${{ secrets.CHECKOUT_TOKEN }}
|
||||||
|
run: |
|
||||||
|
git clone https://oauth2:${{ env.REPO_TOKEN }}@git.rustprogersteam.ru/${{ github.repository }}.git .
|
||||||
|
git checkout ${{ github.sha }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
|
|||||||
Reference in new issue
Block a user