opencloudtiles 0.1.11

A toolbox for converting, checking and serving map tiles in various formats.
Documentation
---
name: CI

on:
   push:
      branches:
         - main
   pull_request:
      branches:
         - main
   schedule:
      - cron: '0 0 15 * *'
   workflow_dispatch:
      inputs:
         logLevel:
            description: 'Log level'
            required: true
            default: 'warning'
         tags:
            description: 'Test scenario tags'

env:
   CARGO_TERM_COLOR: always

jobs:
   rustfmt:
      name: rustfmt
      runs-on: ubuntu-18.04

      steps:
         - name: Checkout repository
           uses: actions/checkout@v3
           with: { submodules: true }
         - name: Install rust
           uses: actions-rs/toolchain@v1
           with:
              toolchain: stable
              profile: minimal
              components: rustfmt, clippy
         - name: Check formatting
           run: cargo fmt -- --check
         - name: Clippy
           run: cargo clippy -- -D warnings

   cargo_test:
      name: cargo test
      runs-on: ubuntu-18.04

      steps:
         - name: Checkout repository
           uses: actions/checkout@v3
           with: { submodules: false }

         - name: Install rust
           uses: actions-rs/toolchain@v1
           with:
              toolchain: stable
              profile: minimal

         - name: Build
           run: cargo build

         - name: Test
           run: cargo test