Skip to content

Commit

Permalink
CI: Switch to fedora for tests & ubuntu-latest in general
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Jan 21, 2024
1 parent aa45f11 commit 86bb6e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: CI
jobs:
check:
name: Check
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
Expand All @@ -23,14 +23,13 @@ jobs:

test:
name: Test Suite
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
container: fedora:latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get install gnome-keyring dbus dbus-x11 -y
systemctl --user daemon-reload
systemctl --user start gnome-keyring-daemon.service
dnf install gnome-keyring gcc dbus-daemon -y
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -45,7 +44,7 @@ jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
Expand All @@ -62,7 +61,7 @@ jobs:

clippy:
name: Clippy
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build-deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit 86bb6e5

Please sign in to comment.