Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GithubCI: use Ubuntu 24.04 instead of 23.10 #24

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ on:
jobs:
buildAndTest-linux:
name: Build and Run Tests (Linux)
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container:
# TODO: move to 24.04 as soon as it is published in Apr2024
image: "ubuntu:23.10"
image: "ubuntu:24.04"
steps:
- uses: actions/checkout@v2
- name: Install required dependencies
Expand All @@ -37,12 +36,6 @@ jobs:
apt install --yes --no-install-recommends ca-certificates

apt install --yes --no-install-recommends dotnet8

# Trust ASP.NET Core HTTPS development certificate so that GRPC server can be contacted through HTTPS.
# HTTPS connection is used in end-to-end GRPC tests.
dotnet dev-certs https
sudo -E dotnet dev-certs https --export-path /usr/local/share/ca-certificates/aspnet/https.crt --format PEM
sudo update-ca-certificates

- name: Restore nuget dependencies
run: dotnet restore
Expand All @@ -56,7 +49,14 @@ jobs:
redis-server --daemonize yes

- name: Run tests
run: dotnet test
run: |
# Trust ASP.NET Core HTTPS development certificate so that GRPC server can be contacted through HTTPS.
# HTTPS connection is used in end-to-end GRPC tests.
dotnet dev-certs https
sudo -E dotnet dev-certs https --trust --format PEM
sudo update-ca-certificates

dotnet test

buildAndTest-windows:
name: Build (Windows)
Expand Down
Loading