From b98c592fc9e477bf16991d157d2ea83056534672 Mon Sep 17 00:00:00 2001 From: Yelaman Yelmuratov Date: Sat, 18 May 2024 23:46:15 +0500 Subject: [PATCH] . e verify code installation --- .github/workflows/build_and_test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6cd31fc..6a9629d 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -28,6 +28,17 @@ jobs: choco install vscode fi shell: bash + + - name: Verify Visual Studio Code installation + run: | + if [[ "${{ runner.os }}" == "Linux" ]]; then + /snap/bin/code --version + elif [[ "${{ runner.os }}" == "macOS" ]]; then + /Applications/Visual Studio Code.app/Contents/Resources/app/bin/code --version + elif [[ "${{ runner.os }}" == "Windows" ]]; then + "C:\\Program Files\\Microsoft VS Code\\Code.exe" --version + fi + shell: bash - name: Build and test run: |