OSGeo / gdal

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
https://gdal.org
Other
4.79k stars 2.51k forks source link

Code Checks warning about deprecated environment #4448

Closed DFEvans closed 3 years ago

DFEvans commented 3 years ago

The Code Checks workflow (https://github.com/OSGeo/gdal/actions/workflows/code_checks.yml) is warning that it is using a deprecated environment:

The ubuntu-16.04 environment is deprecated and will be removed on September 20, 2021. Migrate to ubuntu-latest instead. For more details see https://github.com/actions/virtual-environments/issues/3287

.github/workflows/code_checks.yml reveals that it's used in cppcheck_1604, a build specifically testing ubuntu-16.04, so it's not immediately obvious to me if it should be shifted to Ubuntu 18.04 or just removed entirely.

rouault commented 3 years ago

.github/workflows/code_checks.yml reveals that it's used in cppcheck_1604, a build specifically testing ubuntu-16.04, so it's not immediately obvious to me if it should be shifted to Ubuntu 18.04 or just removed entirely.

I'd completely remove it, given that we have cppcheck_2004