Add state verification to OIDC callback (#7), Rewrite cookie logic (#19), Rename Session Cookie & Config Value Checks (#33) #31
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: Test | |
on: | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: | |
image: antonengelhardt/rust-docker-tools | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: target | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Cargo Deny | |
uses: EmbarkStudios/cargo-deny-action@v1 | |
- name: Run tests | |
run: | | |
rustc --version && cargo --version | |
cargo clippy | |
cargo test --workspace --verbose |