Skip to content

Merge pull request #6 from coinlist/unquote-pw-user #10

Merge pull request #6 from coinlist/unquote-pw-user

Merge pull request #6 from coinlist/unquote-pw-user #10

name: PR checks
on:
pull_request: {}
push:
branches:
- master
permissions:
id-token: write
contents: read
actions: write
jobs:
cancel:
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
setup:
runs-on: ubuntu-latest
needs: [cancel]
outputs:
python_version: ${{ steps.set_var.outputs.python_version }}
poetry_version: ${{ steps.set_var.outputs.poetry_version }}
steps:
- id: set_var
run: |
echo "python_version=3.8" >> $GITHUB_OUTPUT
echo "poetry_version=1.7.1" >> $GITHUB_OUTPUT
perform-ruff-formatting:
needs: [setup]
uses: ./.github/workflows/formatter.yml
cache-dependencies:
needs: [setup, perform-ruff-formatting]
uses: ./.github/workflows/_cache-dependencies.yml
secrets: inherit
with:
python_version: ${{ needs.setup.outputs.python_version }}
poetry_version: ${{ needs.setup.outputs.poetry_version }}
run-unit-test-versions:
needs: [setup]
uses: ./.github/workflows/ci_full.yml
run-unit-test-per-database:
needs: [setup]
uses: ./.github/workflows/ci.yml
publish-data-platform-data-diff:
needs: [setup, run-unit-test-versions, run-unit-test-per-database, cache-dependencies]
uses: ./.github/workflows/_publish-data-platform-data-diff.yml
secrets: inherit
with:
python_version: ${{ needs.setup.outputs.python_version }}
poetry_version: ${{ needs.setup.outputs.poetry_version }}
python_cache_key: ${{ needs.cache-dependencies.outputs.python_cache_key }}