From 6542db6dbb45d234dbcd9e5967b1d168503dcebb Mon Sep 17 00:00:00 2001 From: Keunhong Lee Date: Thu, 15 Feb 2024 18:15:58 +0900 Subject: [PATCH] save --- .github/workflows/build.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c79947f..21b9b26 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,7 +14,7 @@ jobs: build: runs-on: self-hosted steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: | sudo apt update && sudo apt install -y linux-headers-generic build-essential libnuma-dev git meson python3-pyelftools curl libclang-dev clang llvm-dev @@ -29,12 +29,8 @@ jobs: sudo ninja -C build install sudo ldconfig rm -rf dpdk-src - - name: Install minimal nightly with clippy and rustfmt - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - components: rustfmt, clippy + - name: Install minimal Rust with clippy and rustfmt + run: curl -f -sSf https://sh.rustup.rs | bash -s -- -y --profile minimal --component clippy rustfmt - name: Build run: cargo build --verbose - name: Run tests