diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 41145a30a9..61bf164c8b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - run: | cargo fmt --check -- --color=always cargo fmt --check --manifest-path fuzz/Cargo.toml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 851ef5cec7..ffeed66e1c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - run: cargo test --all-features --color=always -- --color=always timezones_other: @@ -27,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - run: cargo test --lib --all-features --color=always -- --color=always - run: cargo test --doc --all-features --color=always -- --color=always @@ -45,7 +45,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: 1.38.0 - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 # run --lib and --doc to avoid the long running integration tests which are run elsewhere - run: cargo test --lib --features unstable-locales,wasmbind,oldtime,clock,rustc-serialize,serde,winapi --color=always -- --color=always - run: cargo test --doc --features unstable-locales,wasmbind,oldtime,clock,rustc-serialize,serde,winapi --color=always -- --color=always @@ -61,7 +61,7 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust_version }} - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - run: cargo check --manifest-path fuzz/Cargo.toml --all-targets # run --lib and --doc to avoid the long running integration tests which are run elsewhere - run: cargo test --lib --all-features --color=always -- --color=always @@ -76,7 +76,7 @@ jobs: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@stable - uses: taiki-e/install-action@cargo-hack - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - run: cargo hack check --feature-powerset --optional-deps serde,rkyv --skip default --skip __internal_bench --skip __doctest --skip iana-time-zone --skip pure-rust-locales no_std: @@ -90,7 +90,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: targets: ${{ matrix.target }} - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - run: cargo build --target ${{ matrix.target }} --color=always working-directory: ./ci/core-test @@ -105,7 +105,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable with: targets: ${{ matrix.target }} - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - uses: actions/setup-node@v1 with: node-version: "12" @@ -114,7 +114,7 @@ jobs: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh wasm-pack --version - run: cargo build --target ${{ matrix.target }} --color=always - + features_check_wasm: strategy: matrix: @@ -126,7 +126,7 @@ jobs: with: targets: wasm32-unknown-unknown - uses: taiki-e/install-action@cargo-hack - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - run: cargo hack check --feature-powerset --optional-deps serde,rkyv --skip default --skip __internal_bench --skip __doctest --skip iana-time-zone --skip pure-rust-locales cross-targets: @@ -138,7 +138,7 @@ jobs: steps: - uses: actions/checkout@v2 - run: cargo install cross - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - run: cross check --target ${{ matrix.target }} check-docs: