From f9351ba4c9ea7db0f75f40877b6b06b81d0e0070 Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 16 Feb 2026 14:16:05 +0300 Subject: [PATCH] Ci: Fix ci for another new machine --- .forgejo/workflows/demo.yaml | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index 33f84f1..3621a93 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -3,24 +3,14 @@ on: [push, pull_request] jobs: build-and-test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest - container: - image: rust:alpine - steps: - - name: Install Git - run: apk add --no-cache git + - name: Checkout code + uses: actions/checkout@v4 + + - name: Build + run: cargo build --verbose - - name: Checkout code - 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 - run: cargo build --verbose - - - name: Test - run: cargo test --verbose + - name: Test + run: cargo test --verbose