Skip to content

Commit

Permalink
ci: use ubuntu-latest
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastien Binet <[email protected]>
  • Loading branch information
sbinet committed Feb 14, 2025
1 parent 4c17b35 commit a739678
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
go-version: [1.23.x, 1.22.x]
platform: [ubuntu-20.04, macos-latest, windows-latest]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
fetch-depth: 1

- name: Install Linux packages
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -qq gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev xvfb xdotool
Expand All @@ -59,11 +59,11 @@ jobs:
root.exe --version
- name: Build-Linux-32b
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-latest'
run: |
GOARCH=386 go install -v $TAGS,cross_compile ./...
- name: Build-Linux-64b
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-latest'
run: |
GOARCH=amd64 go install -v $TAGS ./...
- name: Build-Windows
Expand All @@ -75,7 +75,7 @@ jobs:
run: |
go install -v $TAGS ./...
- name: Test Linux
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-latest'
run: |
go run ./ci/run-tests.go $TAGS -race $COVERAGE
go vet $TAGS ./...
Expand All @@ -96,5 +96,5 @@ jobs:
cache-key: ${{ matrix.platform }}
version: "2024.1.1"
- name: Upload-Coverage
if: matrix.platform == 'ubuntu-20.04'
if: matrix.platform == 'ubuntu-latest'
uses: codecov/codecov-action@v3

0 comments on commit a739678

Please sign in to comment.