diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index cb4ab0f48..ed264592c 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -30,13 +30,13 @@ jobs: run: | apt-get update && apt-get install -y curl apt-get install build-essential -y - - name: Run test with Rust stable + - name: Setup test with Rust stable if: github.event_name != 'schedule' uses: actions-rs/toolchain@v1 with: toolchain: stable override: true - - name: Run test with Rust nightly + - name: Setup test with Rust nightly if: github.event_name == 'schedule' uses: actions-rs/toolchain@v1 with: @@ -117,17 +117,17 @@ jobs: run: | apt-get update apt-get install --assume-yes build-essential curl - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true - name: Run cargo tree without default features and check lindera is not present run: | cargo tree -f '{p} {f}' -e normal --no-default-features | grep lindera -vqz - name: Run cargo tree with default features and check lindera is pressent run: | cargo tree -f '{p} {f}' -e normal | grep lindera -qz - + # We run tests in debug also, to make sure that the debug_assertions are hit test-debug: name: Run tests in debug diff --git a/Cargo.lock b/Cargo.lock index 9a59e2ea8..80d36bd59 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3213,9 +3213,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.59" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b" +checksum = "78803b62cbf1f46fde80d7c0e803111524b9877184cfe7c3033659490ac7a7da" dependencies = [ "unicode-ident", ]