Many CI services use Ubuntu Linux images. The default Linux / Ubuntu version is typically an older version. It can be convenient to switch CI jobs to a newer Linux version to get more recent libraries. Here are examples of switching Linux version for a few popular CI services.
GitHub Actions default Ubuntu version is controlled with .github/workflows/*.yml file(s).
jobs: linux: runs-on: ubuntu-<version_number>