Ci: Fix ci for another new machine

This commit is contained in:
Black_Raven committed 2026-02-16 14:16:05 +03:00
1 parent ca438cb217
commit f9351ba4c9
1 file changed
+8 -18
+8 -18
View File
@@ -3,24 +3,14 @@ on: [push, pull_request]
jobs: jobs:
build-and-test: build-and-test:
runs-on: ubuntu-20.04 runs-on: ubuntu-latest
container:
image: rust:alpine
steps: steps:
- name: Install Git - name: Checkout code
run: apk add --no-cache git uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Checkout code - name: Test
env: run: cargo test --verbose
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
run: cargo build --verbose
- name: Test
run: cargo test --verbose