Skip to content

Commit

Permalink
Run apt-get update before installing libfontconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
iquerejeta committed Jan 24, 2025
1 parent befda0e commit 674a9ff
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
override: false
- name: Install libfontconfig1-dev
if: runner.os == 'Linux'
run: sudo apt-get install -y libfontconfig1-dev
run: apt-get update && sudo apt-get install -y libfontconfig1-dev
- name: Run tests
uses: actions-rs/cargo@v1
with:
Expand All @@ -45,7 +45,7 @@ jobs:
- wasm32-wasi

steps:
- run: sudo apt-get install -y libfontconfig1-dev
- run: apt-get update && sudo apt-get install -y libfontconfig1-dev
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -63,7 +63,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- run: sudo apt-get install -y libfontconfig1-dev
- run: apt-get update && sudo apt-get install -y libfontconfig1-dev
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -80,7 +80,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- run: sudo apt-get install -y libfontconfig1-dev
- run: apt-get update && sudo apt-get install -y libfontconfig1-dev
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand All @@ -103,7 +103,7 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- run: sudo apt-get install -y libfontconfig1-dev
- run: apt-get update && sudo apt-get install -y libfontconfig1-dev
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lints-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
continue-on-error: true

steps:
- run: sudo apt-get install -y libfontconfig1-dev
- run: apt-get update && sudo apt-get install -y libfontconfig1-dev
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lints-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- run: sudo apt-get install -y libfontconfig1-dev
- run: apt-get update && sudo apt-get install -y libfontconfig1-dev
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 674a9ff

Please sign in to comment.