From abdb01d44b1fe19a4c9aaebd8100e0b8f7a10323 Mon Sep 17 00:00:00 2001
From: mszelwiga <mszelwiga@internships.antmicro.com>
Date: Mon, 16 Sep 2024 14:30:30 +0200
Subject: [PATCH] Fix testing of downloading release from README

This commit also completes `README` with dependencies necessary to download release.
---
 .github/workflows/main.yml | 6 +++++-
 README.md                  | 9 ++++++++-
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index dd72819ac..6af63fe87 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -447,13 +447,17 @@ jobs:
       - name: Install Prerequisites
         run: |
           apt update -qq
-          apt install -y --no-install-recommends pipx jq curl wget
+          apt install -y --no-install-recommends pipx git wget
           pipx install git+https://github.com/antmicro/tuttest#egg=tuttest
 
       - name: Set Pipefail
         run: |
           set -o pipefail
 
+      - name: Install Dependencies
+        run: |
+          tuttest README.md install-dependencies-package | bash -
+
       - name: Download Release And Set PATH
         run: |
           tuttest README.md download-release | bash -
diff --git a/README.md b/README.md
index 966614032..06527b00e 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,14 @@ Synlig is a SystemVerilog synthesis tool that uses [Surelog](https://github.com/
 ### Download Synlig
 
 You can download Synlig from the GitHub [release page](https://github.com/chipsalliance/synlig/releases).
-To download the latest version, use the following script:
+First, make sure you have all required dependencies installed with:
+
+<!-- name="install-dependencies-package" -->
+```
+apt install -y jq curl wget tk
+```
+
+then use the following script to download Synlig:
 
 <!-- name="download-release" -->
 ```bash