From efa38d0a98682b2fbbb7100c1471bf986e3afe2a Mon Sep 17 00:00:00 2001 From: Aaron Chen Date: Wed, 19 Mar 2025 12:54:40 +0800 Subject: [PATCH] chore: free ubuntu-latest spaces (#1920) * chore: free ubuntu-latest spaces * chore: install clang --- .github/workflows/build-msrv.yml | 18 ++++++++++++++++++ .github/workflows/build-nightly-release.yml | 6 ++++++ .github/workflows/build-release.yml | 6 ++++++ deny.toml | 3 --- 4 files changed, 30 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-msrv.yml b/.github/workflows/build-msrv.yml index f8e1a482..e810123d 100644 --- a/.github/workflows/build-msrv.yml +++ b/.github/workflows/build-msrv.yml @@ -21,6 +21,12 @@ jobs: runs-on: ${{ matrix.platform }} steps: + - if: ${{ matrix.platform == 'ubuntu-latest' }} + name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + - if: ${{ matrix.platform == 'ubuntu-latest' }} + name: Install LLVM and Clang + run: sudo apt install -y clang - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 - if: ${{ runner.os == 'Windows' }} @@ -48,6 +54,12 @@ jobs: runs-on: ${{ matrix.platform }} steps: + - if: ${{ matrix.platform == 'ubuntu-latest' }} + name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + - if: ${{ matrix.platform == 'ubuntu-latest' }} + name: Install LLVM and Clang + run: sudo apt install -y clang - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 - if: ${{ runner.os == 'Windows' }} @@ -71,6 +83,12 @@ jobs: runs-on: ${{ matrix.platform }} steps: + - if: ${{ matrix.platform == 'ubuntu-latest' }} + name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + - if: ${{ matrix.platform == 'ubuntu-latest' }} + name: Install LLVM and Clang + run: sudo apt install -y clang - uses: actions/checkout@v4 - uses: Swatinem/rust-cache@v2 - if: ${{ runner.os == 'Windows' }} diff --git a/.github/workflows/build-nightly-release.yml b/.github/workflows/build-nightly-release.yml index 6311b4da..730a54ae 100644 --- a/.github/workflows/build-nightly-release.yml +++ b/.github/workflows/build-nightly-release.yml @@ -28,6 +28,12 @@ jobs: toolchain: nightly steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + + - name: Install LLVM and Clang + run: sudo apt install -y clang + - uses: actions/checkout@v4 - name: Install Rust diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index df4c2352..0553600c 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -72,6 +72,12 @@ jobs: # toolchain: nightly steps: + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + + - name: Install LLVM and Clang + run: sudo apt install -y clang + - uses: actions/checkout@v4 - name: Install Rust diff --git a/deny.toml b/deny.toml index e1c1b51c..6795b001 100644 --- a/deny.toml +++ b/deny.toml @@ -77,9 +77,6 @@ ignore = [ # https://github.com/estk/log4rs/pull/351 { id = "RUSTSEC-2024-0388", reason = "log4rs PRs are not merged yet" }, - # https://github.com/spacejam/sled/issues/1514 - # https://github.com/notify-rs/notify/pull/652 - { id = "RUSTSEC-2024-0384", reason = "notify, sled are not updated yet" }, ] # If this is true, then cargo deny will use the git executable to fetch advisory database. # If this is false, then it uses a built-in git library.