Skip to content

Commit

Permalink
fix: update the apt package before installing
Browse files Browse the repository at this point in the history
  • Loading branch information
sassman committed Jan 10, 2025
1 parent ef818e9 commit 01e641a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: setup | rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
default: true
Expand All @@ -51,7 +51,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: setup | rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
default: true
Expand All @@ -73,14 +73,16 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: setup | rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
default: true
profile: minimal
- if: ${{ matrix.version == 'ubuntu-latest' }}
name: install libX11-devel for libX11
run: sudo apt-get install -y libX11-devel
run: |
sudo apt-get update
sudo apt-get install -y libX11-devel
- uses: Swatinem/rust-cache@v1
- name: cargo test
run: cargo test --all --locked
Expand All @@ -106,7 +108,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: setup | rust
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
default: true
Expand Down

0 comments on commit 01e641a

Please sign in to comment.