Skip to content

Commit

Permalink
Allow other packages to be installed and upgraded when installing `li…
Browse files Browse the repository at this point in the history
…budev-dev` in CI

This should fix the new CI failure seen [here][1].

[1]: https://github.com/timrogers/litra-rs/actions/runs/13097492161/job/36541564869
  • Loading branch information
timrogers committed Feb 2, 2025
1 parent bd34d54 commit c82451e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
- name: Add $HOME/.cargo/bin to PATH (self-hosted runners only)
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
if: matrix.job.runs_on == 'self-hosted'
- name: Install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev
- name: install -y libudev-dev
run: sudo apt-get update && sudo apt-get install -y libudev-dev
if: runner.os == 'Linux'
- uses: actions/checkout@v4
- name: Use Rust 1.83.0 with target ${{ matrix.job.target }}
Expand Down Expand Up @@ -153,8 +153,8 @@ jobs:
needs: build
steps:
- uses: actions/checkout@v4
- name: Install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev
- name: install -y libudev-dev
run: sudo apt-get update && sudo apt-get install -y libudev-dev
- name: Use Rust 1.83.0
run: rustup override set 1.83.0
- uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -212,8 +212,8 @@ jobs:
if: startsWith(github.event.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v4
- name: Install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev
- name: install -y libudev-dev
run: sudo apt-get update && sudo apt-get install -y libudev-dev
- name: Use Rust 1.83.0 with target ${{ matrix.job.target }}
run: rustup override set 1.83.0-${{ matrix.job.target }}
- uses: Swatinem/rust-cache@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Install libudev-dev
run: sudo apt-get update && sudo apt-get install libudev-dev
- name: install -y libudev-dev
run: sudo apt-get update && sudo apt-get install -y libudev-dev

- name: Check out repository
uses: actions/checkout@v4
Expand Down

0 comments on commit c82451e

Please sign in to comment.