From 5747489947ca3f39d4b0f74c3ff8807f7811917c Mon Sep 17 00:00:00 2001 From: Alexandre Mutel Date: Thu, 5 Oct 2023 09:05:35 +0200 Subject: [PATCH] Fixes ci to use ubuntu-20.04 --- .github/workflows/CI.yml | 2 +- src/LibObjectFile.Tests/LinuxUtil.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f639cfa..3ced890 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -10,7 +10,7 @@ on: jobs: build: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: Checkout diff --git a/src/LibObjectFile.Tests/LinuxUtil.cs b/src/LibObjectFile.Tests/LinuxUtil.cs index 77cfe3b..070572b 100644 --- a/src/LibObjectFile.Tests/LinuxUtil.cs +++ b/src/LibObjectFile.Tests/LinuxUtil.cs @@ -17,7 +17,7 @@ public static string ReadElf(string file, string arguments = "-W -a") return RunLinuxExe("readelf", $"{file} {arguments}"); } - public static string RunLinuxExe(string exe, string arguments, string distribution = "Ubuntu-18.04") + public static string RunLinuxExe(string exe, string arguments, string distribution = "Ubuntu-20.04") { if (exe == null) throw new ArgumentNullException(nameof(exe)); if (arguments == null) throw new ArgumentNullException(nameof(arguments));