Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/block-cipher-trait.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: block-cipher-trait

on:
pull_request:
paths:
- "block-cipher-trait/**"
- "Cargo.*"
push:
branches: master
paths:
- "block-cipher-trait/**"
- "Cargo.*"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: |
cargo check --all-features
cargo test --features dev
cargo test --features std
cargo test --all-features
working-directory: block-cipher-trait
33 changes: 33 additions & 0 deletions .github/workflows/crypto-mac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: crypto-mac

on:
pull_request:
paths:
- "crypto-mac/**"
- "Cargo.*"
push:
branches: master
paths:
- "crypto-mac/**"
- "Cargo.*"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: |
cargo check --all-features
cargo test --features dev
cargo test --features std
cargo test --all-features
working-directory: crypto-mac
33 changes: 33 additions & 0 deletions .github/workflows/digest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: digest

on:
pull_request:
paths:
- "digest/**"
- "Cargo.*"
push:
branches: master
paths:
- "digest/**"
- "Cargo.*"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: |
cargo check --all-features
cargo test --features dev
cargo test --features std
cargo test --all-features
working-directory: digest
32 changes: 32 additions & 0 deletions .github/workflows/signature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: signature

on:
pull_request:
paths:
- "signature/**"
- "Cargo.*"
push:
branches: master
paths:
- "signature/**"
- "Cargo.*"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: |
cargo check --all-features
cargo test --no-default-features
cargo test
working-directory: signature
33 changes: 33 additions & 0 deletions .github/workflows/stream-cipher.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: stream-cipher

on:
pull_request:
paths:
- "stream-cipher/**"
- "Cargo.*"
push:
branches: master
paths:
- "stream-cipher/**"
- "Cargo.*"

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.41.0 # MSRV
- stable
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
- run: |
cargo check --all-features
cargo test --features dev
cargo test --features std
cargo test --all-features
working-directory: stream-cipher
40 changes: 40 additions & 0 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Workspace

on:
pull_request:
paths-ignore:
- README.md
push:
branches: master
paths-ignore:
- README.md

jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.41.0
components: clippy
- run: cargo clippy --all --all-features -- -D warnings
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v1

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
target/
*/target/
*/*/target/
Cargo.lock

40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

Loading