Skip to content

Commit

Permalink
ci: Runt apt update before installing
Browse files Browse the repository at this point in the history
  • Loading branch information
bcyran committed Mar 2, 2024
1 parent c864a95 commit a738adc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ jobs:
profile: minimal
toolchain: stable
override: true
- run: sudo apt-get install -y libheif-dev libheif1
- run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libheif-dev libheif1
- uses: actions-rs/cargo@v1
with:
command: test
Expand Down Expand Up @@ -117,7 +119,9 @@ jobs:
run: rustup update stable
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- run: sudo apt-get install -y libheif-dev libheif1
- run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libheif-dev libheif1
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Upload coverage to Codecov
Expand Down

0 comments on commit a738adc

Please sign in to comment.