ci: Refactor Ci for new machine
This commit is contained in:
1 parent
efa7dace0e
commit
bfa0838989
1 file changed
+2
-9
@@ -3,21 +3,14 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-test:
|
build-and-test:
|
||||||
runs-on: alpine
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: rust:alpine
|
image: rust:alpine
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install Git
|
|
||||||
run: apk add --no-cache git
|
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
env:
|
uses: actions/checkout@v4
|
||||||
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