remove proc-macro-error dependency #38
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
concurrency: | |
group: test-${{ github.head_ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: cachix/install-nix-action@v18 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: Test no defualt features | |
run: | | |
nix develop -c cargo run --no-default-features --example instance | |
nix develop -c cargo run --no-default-features --example diff | |
nix develop -c cargo run --no-default-features --example json | |
nix develop -c cargo run --no-default-features --example rename-patch-struct | |
nix develop -c cargo test --no-default-features | |
- name: Test with default features | |
run: | | |
nix develop -c cargo run --example status | |
nix develop -c cargo test |