cloud-storage 0.11.1

A crate for uploading files to Google cloud storage, and for generating download urls.
Documentation
name: Rust

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        features: ["--features sync", "--no-default-features --features sync,rustls-tls", "--all-features"]

    steps:
    - uses: actions/checkout@v2
    # - name: Run cargo fmt
    #   uses: actions-rs/cargo@v1
    #   with:
    #     command: fmt
    #     args: -- --check
    - name: Run cargo clippy
      uses: actions-rs/clippy-check@v1
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        args: -- -D warnings
    - name: Create Secret
      run: 'echo "$SECRET_FILE" > auth.json'
      env:
        SECRET_FILE: ${{secrets.GOOGLE_APPLICATION_CREDENTIALS}}
    - name: Create Test File
      run: 'echo "Temporary test text to test the transfer." > myemma.txt'
    - name: Build
      run: cargo build
    - name: Run tests
      run: cargo test ${{ matrix.features }} -- --test-threads=1
      env:
        GOOGLE_APPLICATION_CREDENTIALS: auth.json
        TEST_BUCKET: cloud-storage-rs-test-bucket