diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 26 |
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 |
