Skip to content

feat: OneDrive + Google Drive storage backends (OAuth2 device code) #35

feat: OneDrive + Google Drive storage backends (OAuth2 device code)

feat: OneDrive + Google Drive storage backends (OAuth2 device code) #35

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths:
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/ci.yml'
pull_request:
branches: [main]
paths:
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
- '.github/workflows/ci.yml'
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Install protoc
run: brew install protobuf
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Run tests
run: cargo test --workspace
- name: Check formatting
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy --workspace -- -D warnings