From d510a806deca47b77927e87323a4d5855f296a5a Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 11 Jan 2024 21:19:41 +0800 Subject: [PATCH] cleanup build.yml action I think we don't need to run the full rust toolchain script, just `rustup update`? Also update actions version for checkout and comments. --- .github/workflows/build.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a1f4193d..b6c6e0c22 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,15 +18,11 @@ jobs: sudo apt update sudo apt install -y libxkbcommon-dev - - name: Install stable toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: "1.75.0" - default: true + - name: Update to latest toolchain + run: rustup update - name: Checkout sources - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Fetch tags run: git fetch --prune --unshallow --tags @@ -38,5 +34,5 @@ jobs: - name: Clean out old target directory (in case of libstd change) run: rm -rf target/* - - name: Build hosted-ci + - name: Build CI targets run: cargo xtask ${{ matrix.task }} --no-verify