zoxide/.github/workflows/cargo-test.yml
2020-10-18 15:08:13 +05:30

28 lines
784 B
YAML

name: cargo-test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-18.04
steps:
- run: sudo apt update
- run: sudo apt install wget apt-transport-https
- run: wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
- run: sudo dpkg -i packages-microsoft-prod.deb
- run: sudo apt update
- run: sudo add-apt-repository universe
- run: sudo apt install bash dash fish powershell shellcheck xonsh zsh
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-features --no-fail-fast