[RSPEED-399] Fix query read from stdin #184
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: Sanity | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
sanity: | |
runs-on: ubuntu-latest | |
name: Sanity - ${{ matrix.python-version }} | |
strategy: | |
fail-fast: true | |
matrix: | |
python-version: | |
- '3.9' | |
- '3.12' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PDM | |
uses: pdm-project/setup-pdm@v4 | |
with: | |
version: 2.20.1 | |
python-version: ${{ matrix.python-version }} | |
cache: true | |
- name: Install dependencies | |
run: | | |
# TODO(r0x0d): Refactor this https://issues.redhat.com/browse/RSPEED-339 | |
sudo apt update -y | |
sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-4.0 -y | |
pdm install -v | |
pdm info | |
echo "$(pdm venv --path in-project)/bin" >> $GITHUB_PATH | |
- name: Run pyright | |
uses: jakebailey/pyright-action@v2 | |
with: | |
version: 1.1.389 | |
python-version: ${{ matrix.python-version }} | |
annotate: errors |