Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache cargo index #12

Merged
merged 6 commits into from Feb 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 11 additions & 9 deletions .github/workflows/cbc.yaml
Expand Up @@ -28,7 +28,8 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
Expand All @@ -50,11 +51,12 @@ jobs:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
20 changes: 11 additions & 9 deletions .github/workflows/cfb-mode.yaml
Expand Up @@ -28,7 +28,8 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
Expand All @@ -50,11 +51,12 @@ jobs:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
20 changes: 11 additions & 9 deletions .github/workflows/cfb8.yaml
Expand Up @@ -28,7 +28,8 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
Expand All @@ -50,11 +51,12 @@ jobs:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
20 changes: 11 additions & 9 deletions .github/workflows/ctr.yaml
Expand Up @@ -28,7 +28,8 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
Expand All @@ -50,11 +51,12 @@ jobs:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
20 changes: 11 additions & 9 deletions .github/workflows/ige.yaml
Expand Up @@ -28,7 +28,8 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
Expand All @@ -50,11 +51,12 @@ jobs:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
20 changes: 11 additions & 9 deletions .github/workflows/ofb.yaml
Expand Up @@ -28,7 +28,8 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
Expand All @@ -50,11 +51,12 @@ jobs:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
20 changes: 11 additions & 9 deletions .github/workflows/pcbc.yaml
Expand Up @@ -28,7 +28,8 @@ jobs:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
Expand All @@ -50,11 +51,12 @@ jobs:
- 1.56.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo test
- run: cargo test --all-features
2 changes: 1 addition & 1 deletion .github/workflows/security-audit.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Security Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Cache cargo bin
uses: actions/cache@v1
with:
Expand Down
30 changes: 10 additions & 20 deletions .github/workflows/workspace.yml
Expand Up @@ -13,20 +13,21 @@ jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.0 # MSRV
components: clippy
override: true
profile: minimal
- run: cargo clippy --all --all-features -- -D warnings
- uses: actions/checkout@v2
- uses: RustCrypto/actions/cargo-cache@master
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.56.0 # MSRV
components: clippy
override: true
profile: minimal
- run: cargo clippy --all --all-features -- -D warnings

rustfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand All @@ -40,14 +41,3 @@ jobs:
with:
command: fmt
args: --all -- --check

benches:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
- run: cargo build --all --benches
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.