From 7cd64abbf226aacba6271dade8ee0c39962a60ad Mon Sep 17 00:00:00 2001 From: AZEN-SGG Date: Sat, 21 Dec 2024 20:48:53 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B2=D0=BE=D0=B4=20=D0=B2=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=D0=BB=D0=BE=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BC=D0=B5=D0=BD=D1=8F=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/compile-and-test.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/compile-and-test.yml b/.github/workflows/compile-and-test.yml index 587a890..9db1fae 100644 --- a/.github/workflows/compile-and-test.yml +++ b/.github/workflows/compile-and-test.yml @@ -49,11 +49,7 @@ jobs: echo "Testing with file: $file" # Создаём файл ввода - echo "0" > input.txt - echo "$file" >> input.txt - - # Запускаем программу - ./a.out < input.txt + (echo "0"; echo "$file") | ./a.out if [ $? -ne 0 ]; then echo "::error::Test failed for $file" exit 1