gh-205 gh-128 gh-68 Upgrade Python to 3.12, Supertokens to 9.0.2 and all backend dependencies #90
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: code checks | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
workflow_call: | |
inputs: | |
branch_ref: | |
type: string | |
required: true | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ inputs.branch_ref }} | |
cancel-in-progress: true | |
jobs: | |
run-checks: | |
timeout-minutes: 20 | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ inputs.branch_ref }} | |
- name: pull containers | |
# postgresql is dependency of backend-utils | |
run: docker compose pull postgresql | |
- name: build containers | |
run: docker compose --profile dev build backend-utils frontend-utils | |
- name: check code formatting | |
run: ./bin/check-code-formatting.sh | |
- name: check types | |
run: ./bin/check-code-semantics.sh | |
- name: run tests | |
run: ./bin/run-tests.sh |