feat(images): added logos #105
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
on: [push, workflow_call] | |
jobs: | |
tests: | |
name: Test on stable | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- run: cargo test --features integration | |
if: github.repository == 'jdrouet/tmdb-api' | |
env: | |
TMDB_TOKEN_V3: '${{ secrets.TMDB_TOKEN_V3 }}' | |
- run: cargo test | |
if: github.repository != 'jdrouet/tmdb-api' | |
check-features: | |
name: Ensure all features are building correctly | |
runs-on: ubuntu-latest | |
steps: | |
- uses: taiki-e/install-action@cargo-hack | |
- uses: actions/checkout@v1 | |
- run: cargo hack check --tests --feature-powerset | |
clippy: | |
name: Check clippy suggestions | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- run: rustup component add clippy | |
- uses: actions-rs/clippy-check@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --all-features | |
lint: | |
name: Check all linting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- run: cargo fmt --all --check |