aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-02-06 08:47:31 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-02-06 09:40:32 +0400
commit8916b18c6bdd420857adf1a2c49a6f4b12493243 (patch)
treea897fd8193b4b56991d24d67b31f8649ad2abb12 /.github/workflows
parentb0d0fce5f390479f7fef4814b325df1dfc25c63c (diff)
downloadniri-8916b18c6bdd420857adf1a2c49a6f4b12493243.tar.gz
niri-8916b18c6bdd420857adf1a2c49a6f4b12493243.tar.bz2
niri-8916b18c6bdd420857adf1a2c49a6f4b12493243.zip
Run Ubuntu CI in a 23.10 container
We will soon need newer dependencies.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml26
1 files changed, 10 insertions, 16 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e61eba90..b57abcbb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -24,6 +24,7 @@ jobs:
name: test - ${{ matrix.configuration }}
runs-on: ubuntu-22.04
+ container: ubuntu:23.10
steps:
- uses: actions/checkout@v4
@@ -32,15 +33,10 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get install -y software-properties-common
- sudo add-apt-repository -y ppa:pipewire-debian/pipewire-upstream
- sudo apt-get update -y
- sudo apt-get install -y libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libpipewire-0.3-dev libpango1.0-dev
+ apt-get update -y
+ apt-get install -y curl gcc clang libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libpipewire-0.3-dev libpango1.0-dev
- - name: Install Rust
- run: |
- rustup set auto-self-update check-only
- rustup toolchain install stable --profile minimal
+ - uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
@@ -67,6 +63,7 @@ jobs:
name: clippy
runs-on: ubuntu-22.04
+ container: ubuntu:23.10
steps:
- uses: actions/checkout@v4
@@ -75,15 +72,12 @@ jobs:
- name: Install dependencies
run: |
- sudo apt-get install -y software-properties-common
- sudo add-apt-repository -y ppa:pipewire-debian/pipewire-upstream
- sudo apt-get update -y
- sudo apt-get install -y libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libpipewire-0.3-dev libpango1.0-dev
+ apt-get update -y
+ apt-get install -y curl gcc clang libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libpipewire-0.3-dev libpango1.0-dev
- - name: Install Rust
- run: |
- rustup set auto-self-update check-only
- rustup toolchain install stable --profile minimal --component clippy
+ - uses: dtolnay/rust-toolchain@stable
+ with:
+ components: clippy
- uses: Swatinem/rust-cache@v2