Skip to content

Improve validation of OAuth tokens #372

Improve validation of OAuth tokens

Improve validation of OAuth tokens #372

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust_version: [stable]
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
run: rustup default ${{ matrix.rust_version }}
- uses: Swatinem/rust-cache@v2
- name: Build
run: |
sudo apt-get install libssl-dev
cargo build --verbose --locked
- name: Run tests
run: cargo test --verbose --locked
- name: Rustfmt and Clippy
run: |
cargo fmt -- --check
cargo clippy
if: matrix.rust_version == 'stable'