Skip to content

Commit

Permalink
ci-github: migrate workflow to +nightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
prataprc committed Oct 3, 2021
1 parent 0175482 commit c4c886e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
25 changes: 16 additions & 9 deletions .github/workflows/simple-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Build stable dev
run: cargo +stable build --verbose
- name: Build stable release
run: cargo +stable build --verbose --release
- name: Test stable dev
run: cargo +stable test --verbose
- name: Test stable release
run: cargo +stable test --verbose --release
- name: Install nightly toolchain with clippy available
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: clippy
- uses: actions/checkout@v1
- name: Build nightly dev
run: cargo +nightly build --verbose
- name: Build nightly release
run: cargo +nightly build --verbose --release
- name: Test nightly dev
run: cargo +nightly test --verbose
- name: Test nightly release
run: cargo +nightly test --verbose --release
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ name = "perf"
required-features = ["perf"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
cbordata = { version = "0.5.0", path = "../cbordata" }
cbordata = { path = "../cbordata", version = "0.5.1" }

structopt = { version = "0.3.20", default-features = false, optional = true }
rand = { version = "0.7.3", features = ["small_rng"], optional = true }
Expand Down

0 comments on commit c4c886e

Please sign in to comment.