cses-cli 0.1.3

CSES CLI is a lightweight tool for using CSES from the command line.
name: Test server

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
    types: [ opened, synchronize ]

jobs:
  build:
    runs-on: ubuntu-latest
    defaults:
      run:
        working-directory: api/mock_server
    steps:
      - uses: actions/checkout@v2
      - name: Setup Python
        uses: actions/setup-python@v2
        with:
          python-version: '3.x'
      - name: Install Poetry
        uses: snok/install-poetry@v1.2.1
        with:
          virtualenvs-create: true
          virtualenvs-in-project: false
      - name: Cache pip wheels
        uses: actions/cache@v2
        with:
          path: ~/.cache
          key: wheels-ubuntu-latest-${{ hashFiles('**/poetry.lock') }}
      - name: Install poetry dependencies
        run: poetry install --no-interaction
      - name: Lint with pylint
        run: poetry run pylint *