From 4729d1e59914a50871fd469ce0a58c05dfa43519 Mon Sep 17 00:00:00 2001 From: Eyal Ben Moshe Date: Wed, 18 Dec 2024 22:21:18 +0200 Subject: [PATCH] Fix failing tests (#287) --- .github/workflows/test.yml | 11 +++++++++++ .../pip/expected_pip_buildinfo_with_module_name.json | 2 +- .../expected_pip_buildinfo_without_module_name.json | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 53f1d56a..4ade9c98 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,6 +53,17 @@ jobs: - name: Setup Go with cache uses: jfrog/.github/actions/install-go-with-cache@main + # Install Mono on Ubuntu to run nuget.exe (due to this issue on Ubuntu 24 that hasn't been fixed yet - https://github.com/NuGet/setup-nuget/issues/168) + - name: Install Mono on Ubuntu + if: matrix.os == 'ubuntu' + run: | + sudo apt-get update + sudo apt-get install -y apt-transport-https dirmngr gnupg ca-certificates + sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF + echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list + sudo apt-get update + sudo apt-get install -y mono-complete + - name: Lint run: go vet ./... diff --git a/build/testdata/python/pip/expected_pip_buildinfo_with_module_name.json b/build/testdata/python/pip/expected_pip_buildinfo_with_module_name.json index 719a3ecd..d595be8b 100644 --- a/build/testdata/python/pip/expected_pip_buildinfo_with_module_name.json +++ b/build/testdata/python/pip/expected_pip_buildinfo_with_module_name.json @@ -29,7 +29,7 @@ ] }, { - "id": "six:1.16.0", + "id": "six:1.17.0", "type": "metadata", "requestedBy": [ [ diff --git a/build/testdata/python/pip/expected_pip_buildinfo_without_module_name.json b/build/testdata/python/pip/expected_pip_buildinfo_without_module_name.json index e5233b0e..c7155361 100644 --- a/build/testdata/python/pip/expected_pip_buildinfo_without_module_name.json +++ b/build/testdata/python/pip/expected_pip_buildinfo_without_module_name.json @@ -29,7 +29,7 @@ ] }, { - "id": "six:1.16.0", + "id": "six:1.17.0", "type": "metadata", "requestedBy": [ [