Fix(github): Invalid github actions. #145
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: Review | |
on: | |
push: | |
branches: | |
- "*" | |
tags-ignore: | |
- "*" | |
pull_request: | |
jobs: | |
js_review: | |
name: Run linters and tests for js code | |
runs-on: "ubuntu-22.04" | |
strategy: | |
matrix: | |
node: [ 20 ] | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v3 | |
- name: Set the node version | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --pure-lockfile --mutex network | |
- name: Run frontend checks | |
run: yarn run ci | |
py_review: | |
name: Run linters and tests for python code | |
runs-on: "ubuntu-22.04" | |
strategy: | |
matrix: | |
python: ["3.10", "3.11", "3.13"] | |
steps: | |
- name: Checkout the source code | |
uses: actions/checkout@v4 | |
- name: Set the node version | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'yarn' | |
- name: Set the python version | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install dependencies | |
uses: ./.github/actions/install | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Run tests | |
env: | |
PYTHON_VERSION: ${{ matrix.python }} | |
run: tox |