mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-11-14 01:04:04 +00:00
29 lines
621 B
YAML
29 lines
621 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, windows-latest]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions-rs/install@v0.1
|
|
if: ${{ matrix.os == 'windows-latest' }}
|
|
with:
|
|
crate: cargo-audit
|
|
version: latest
|
|
- uses: cachix/install-nix-action@v12
|
|
if: ${{ matrix.os != 'windows-latest' }}
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-stable
|
|
- run: mkdir -p /tmp/home && make test
|
|
env:
|
|
HOME: /tmp/home
|