diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2b9ed08b329..9f6cae4f8c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,8 @@ 'fail-fast': false 'matrix': 'os': - - 'ubuntu-latest' + # TODO(s.chzhen): Use latest. + - 'ubuntu-22.04' - 'macOS-latest' - 'windows-latest' 'steps': @@ -58,13 +59,13 @@ 'run': 'make VERBOSE=1 deps test go-bench go-fuzz' - 'name': 'Upload coverage' 'uses': 'codecov/codecov-action@v1' - 'if': "success() && matrix.os == 'ubuntu-latest'" + 'if': "success() && matrix.os == 'ubuntu-22.04'" 'with': 'token': '${{ secrets.CODECOV_TOKEN }}' 'file': './coverage.txt' 'build-release': - 'runs-on': 'ubuntu-latest' + 'runs-on': 'ubuntu-22.04' 'needs': 'test' 'steps': - 'name': 'Checkout' @@ -123,7 +124,7 @@ github.event.pull_request.head.repo.full_name == github.repository ) }} - 'runs-on': 'ubuntu-latest' + 'runs-on': 'ubuntu-22.04' 'steps': - 'name': 'Conclusion' 'uses': 'technote-space/workflow-conclusion-action@v1'