From 5448020b188899601d641a2684833073aba0a669 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Wed, 26 Jun 2024 08:20:20 +0700 Subject: [PATCH] fix: Install shells for CI --- .github/workflows/ci.yml | 4 +++- .github/workflows/rust-next.yml | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 725b36bd91f..344527f6ce3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,9 @@ jobs: with: toolchain: ${{ matrix.rust }} - uses: Swatinem/rust-cache@v2 - - uses: taiki-e/install-action@cargo-hack + - name: Install shells + if: runner.os == 'Linux' + run: sudo apt-get install -y elvish fish zsh - name: Build run: make build-${{matrix.features}} - name: Test diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml index 3b2d4868dc7..a5ac8529f87 100644 --- a/.github/workflows/rust-next.yml +++ b/.github/workflows/rust-next.yml @@ -65,6 +65,9 @@ jobs: with: toolchain: ${{ matrix.rust }} - uses: Swatinem/rust-cache@v2 + - name: Install shells + if: runner.os == 'Linux' + run: sudo apt-get install -y elvish fish zsh - name: Build run: make build-${{matrix.features}} - name: Test @@ -96,6 +99,9 @@ jobs: toolchain: stable - uses: Swatinem/rust-cache@v2 - uses: taiki-e/install-action@cargo-hack + - name: Install shells + if: runner.os == 'Linux' + run: sudo apt-get install -y elvish fish zsh - name: Update dependencues run: cargo update - name: Build