podsync 0.1.12

A server to sync podcasts with, mirroring the gpodder API. Designed for use with AntennaPod
name: podsync ci

on:
  push:
  pull_request:

jobs:
  check-linux:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Rust Setup
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
          components: rustfmt, clippy

      - name: Check (SQL)
        uses: actions-rs/cargo@v1
        with:
          command: check
          args: --features backend-sql

      - name: Test (SQL)
        uses: actions-rs/cargo@v1
        with:
          command: test
          args: --features backend-sql

      - name: Check (file)
        uses: actions-rs/cargo@v1
        with:
          command: check

      - name: Format
        uses: actions-rs/cargo@v1
        with:
          command: fmt
          args: --all -- --check