mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
fix: Install shells for CI
This commit is contained in:
parent
1c5a625ad0
commit
5448020b18
2 changed files with 9 additions and 1 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -70,7 +70,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
- uses: Swatinem/rust-cache@v2
|
- 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
|
- name: Build
|
||||||
run: make build-${{matrix.features}}
|
run: make build-${{matrix.features}}
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|
6
.github/workflows/rust-next.yml
vendored
6
.github/workflows/rust-next.yml
vendored
|
@ -65,6 +65,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
- name: Install shells
|
||||||
|
if: runner.os == 'Linux'
|
||||||
|
run: sudo apt-get install -y elvish fish zsh
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make build-${{matrix.features}}
|
run: make build-${{matrix.features}}
|
||||||
- name: Test
|
- name: Test
|
||||||
|
@ -96,6 +99,9 @@ jobs:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- uses: taiki-e/install-action@cargo-hack
|
- 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
|
- name: Update dependencues
|
||||||
run: cargo update
|
run: cargo update
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
Loading…
Reference in a new issue