Implement org membership based auth #362
Workflow file for this run
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: 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' |