Skip to content

Commit

Permalink
.github/workflows: use latest Ubuntu LTS 22.04
Browse files Browse the repository at this point in the history
In commit d6b34fa of PR git-lfs#4437 we
switched our CI and release GitHub Actions workflows to explicitly
use the then-latest Ubuntu LTS version 20.04 in order to support ARM64
builds, as these required a version of Go (specifically 1.16) which was
not available on the ubuntu-latest Actions runners at the time because
they still ran Ubuntu LTS version 18.04.

However, ubuntu-latest Actions runners now use an even newer LTS version
of Ubuntu, 22.04, than the one we have explicitly identified, so we can
return to specifying ubuntu-latest for our CI and release builds.
  • Loading branch information
chrisd8088 committed Jan 4, 2023
1 parent cbab54d commit 3a484ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: Build with default Git
strategy:
matrix:
os: [ubuntu-20.04, macos-latest]
os: [ubuntu-latest, macos-latest]
go: ['1.19.x']
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
strategy:
matrix:
go: ['1.18.x']
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-go@v2
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
name: Build with latest Git
strategy:
matrix:
os: [ubuntu-20.04, macos-latest]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
Expand All @@ -118,7 +118,7 @@ jobs:
name: Build with earliest Git
strategy:
matrix:
os: [ubuntu-20.04, macos-latest]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
Expand All @@ -127,7 +127,7 @@ jobs:
- run: script/cibuild
build-docker:
name: Build Linux packages
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ruby/setup-ruby@v1
Expand All @@ -136,7 +136,7 @@ jobs:
- run: ./docker/run_dockers.bsh --prune
build-docker-cross:
name: Build Cross Linux packages
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
arch: [arm64]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
needs:
- build-windows
- build-macos
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.19.x']
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
build-docker:
name: Build Linux Packages
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ruby/setup-ruby@v1
Expand All @@ -142,7 +142,7 @@ jobs:
PACKAGECLOUD_TOKEN: ${{secrets.PACKAGECLOUD_TOKEN}}
build-docker-cross:
name: Build Cross Linux packages
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
arch: [arm64]
Expand Down

0 comments on commit 3a484ee

Please sign in to comment.