Skip to content

Commit

Permalink
use action from RustCrypto/actions
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Feb 16, 2022
1 parent 95d3bd0 commit d3d51a8
Show file tree
Hide file tree
Showing 12 changed files with 124 additions and 244 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/aes.yml
Expand Up @@ -59,17 +59,7 @@ jobs:
minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features
- uses: RustCrypto/actions/minimal-versions@min_versions

# Tests for the AES-NI backend
aesni:
Expand Down
32 changes: 11 additions & 21 deletions .github/workflows/blowfish.yml
Expand Up @@ -40,17 +40,7 @@ jobs:
minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features
- uses: RustCrypto/actions/minimal-versions@min_versions

test:
runs-on: ubuntu-latest
Expand All @@ -60,13 +50,13 @@ 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 check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
32 changes: 11 additions & 21 deletions .github/workflows/cast5.yml
Expand Up @@ -40,17 +40,7 @@ jobs:
minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features
- uses: RustCrypto/actions/minimal-versions@min_versions

test:
runs-on: ubuntu-latest
Expand All @@ -60,13 +50,13 @@ 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 check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
32 changes: 11 additions & 21 deletions .github/workflows/des.yml
Expand Up @@ -40,17 +40,7 @@ jobs:
minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features
- uses: RustCrypto/actions/minimal-versions@min_versions

test:
runs-on: ubuntu-latest
Expand All @@ -60,13 +50,13 @@ 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 check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
32 changes: 11 additions & 21 deletions .github/workflows/idea.yml
Expand Up @@ -40,17 +40,7 @@ jobs:
minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features
- uses: RustCrypto/actions/minimal-versions@min_versions

test:
runs-on: ubuntu-latest
Expand All @@ -60,13 +50,13 @@ 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 check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
36 changes: 13 additions & 23 deletions .github/workflows/kuznyechik.yml
Expand Up @@ -43,17 +43,7 @@ jobs:
minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features
- uses: RustCrypto/actions/minimal-versions@min_versions

test:
runs-on: ubuntu-latest
Expand All @@ -63,17 +53,17 @@ 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
cargo test --all-features
- env:
RUSTFLAGS: "-Dwarnings --cfg kuznyechik_force_soft"
run: |
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: |
cargo test
cargo test --all-features
- env:
RUSTFLAGS: "-Dwarnings --cfg kuznyechik_force_soft"
run: |
cargo test
cargo test --all-features
32 changes: 11 additions & 21 deletions .github/workflows/magma.yml
Expand Up @@ -40,17 +40,7 @@ jobs:
minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features
- uses: RustCrypto/actions/minimal-versions@min_versions

test:
runs-on: ubuntu-latest
Expand All @@ -60,13 +50,13 @@ 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 check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
32 changes: 11 additions & 21 deletions .github/workflows/rc2.yml
Expand Up @@ -40,17 +40,7 @@ jobs:
minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features
- uses: RustCrypto/actions/minimal-versions@min_versions

test:
runs-on: ubuntu-latest
Expand All @@ -60,13 +50,13 @@ 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 check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
32 changes: 11 additions & 21 deletions .github/workflows/serpent.yml
Expand Up @@ -40,17 +40,7 @@ jobs:
minimal-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- run: rm ../Cargo.toml
- run: rm ../Cargo.lock
- run: cargo update -Z minimal-versions
- run: cargo test --release
- run: cargo test --release --all-features
- uses: RustCrypto/actions/minimal-versions@min_versions

test:
runs-on: ubuntu-latest
Expand All @@ -60,13 +50,13 @@ 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 check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
profile: minimal
- run: cargo check --all-features
- run: cargo test --no-default-features
- run: cargo test
- run: cargo test --all-features

0 comments on commit d3d51a8

Please sign in to comment.