support changing auto_padding setting in CBC mode (#30) #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Rust version | |
run: rustup toolchain install 1.46.0 | |
- name: Select Rust version | |
run: rustup default 1.46.0 | |
- name: Install clippy | |
run: rustup component add clippy | |
- name: Install cargo fmt | |
run: rustup component add rustfmt | |
- name: Run cargo fmt and fail if any warnings | |
run: cargo fmt -- --check | |
- name: Build | |
run: cargo build | |
- name: Run tests | |
run: cargo test | |
- name: Run Clippy | |
run: cargo clippy |