From 986d27c1033e4dcd2bfd50b8aaa76ca4cddc6279 Mon Sep 17 00:00:00 2001 From: Lukas Melninkas Date: Thu, 18 Apr 2024 14:08:57 +0300 Subject: [PATCH] Use Argyle QA flow --- .github/workflows/qa.yml | 45 +++++++--------------------------------- 1 file changed, 7 insertions(+), 38 deletions(-) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index fbfc97d..5818443 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -1,41 +1,10 @@ -name: QA checks +name: QA Checks -on: # yamllint disable-line rule:truthy - push: +'on': [push] jobs: - build: - runs-on: ubuntu-latest - - strategy: # launches - fail-fast: false - matrix: - task: # yamllint disable rule:indentation - - lint - - yamllint - - check_types - - check_fmt - - test - - steps: - - uses: actions/checkout@v2 - - - name: Set up Python 3.9.12 - uses: actions/setup-python@v2 - with: - python-version: 3.9.12 - - - name: Set up cache - uses: actions/cache@v2 - id: cache - with: - path: /home/runner/.cache/pypoetry/virtualenvs - key: venv-${{ hashFiles('**/.github/workflows/qa.yml') }}-${{ hashFiles('**/poetry.lock') - }} - - - name: Install dependencies - run: |2 - curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.4.2 python3 - - poetry install - - name: QA - run: poetry run task ${{ matrix['task'] }} + run: + uses: argyle-systems/argyle-common-python/.github/workflows/qa.yaml@v2.0.12 + secrets: inherit + with: + poetry_install_cmd: poetry install \ No newline at end of file