Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Jan 14, 2021
1 parent b97516e commit 683d2b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ jobs:
- name: Run tests
run: cargo test --all --verbose -- --exact -Z unstable-options --format=json --show-output

# build on nightly
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Build on nightly
run: cargo build --release

# examples
- name: Check examples format
run: cargo fmt --all -- --check
Expand All @@ -48,11 +56,3 @@ jobs:
- name: Run examples
run: cargo run --release && target/release/example_shadow -V
working-directory: ./example_shadow

# build on nightly
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Build on nightly
run: cargo build --release
6 changes: 2 additions & 4 deletions example_shadow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ build = "build.rs"

[dependencies]
clap = "2.33.3"
#shadow-rs = "0.5"
shadow-rs = {path="../"}
shadow-rs = "0.5"

[build-dependencies]
#shadow-rs = "0.5"
shadow-rs = {path="../"}
shadow-rs = "0.5"

0 comments on commit 683d2b7

Please sign in to comment.