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 (#125)

* Allow other packages to be installed and upgraded when installing `libudev-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

* Don't change job names
  • Loading branch information
timrogers authored Feb 2, 2025
1 parent bd34d54 commit 98afc64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
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
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 @@ -154,7 +154,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install libudev-dev
run: sudo apt-get update && sudo apt-get install 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 @@ -213,7 +213,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install libudev-dev
run: sudo apt-get update && sudo apt-get install 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
2 changes: 1 addition & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install libudev-dev
run: sudo apt-get update && sudo apt-get install 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 98afc64

Please sign in to comment.