Skip to content

Support Stayover guests #43

Support Stayover guests

Support Stayover guests #43

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
uses: ./.github/workflows/build.yaml
ruff-lint:
runs-on: 'ubuntu-20.04'
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup rye
uses: eifinger/setup-rye@v3
- name: install dependencies
run: rye sync
- name: lint
run: rye run ruff check src/
- name: auto fix
if: ${{ failure() }}
run: rye run ruff check --fix src/
- name: suggest changes
if: ${{ failure() }}
uses: parkerbxyz/[email protected]
ruff-format:
runs-on: 'ubuntu-20.04'
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup rye
uses: eifinger/setup-rye@v3
- name: install dependencies
run: rye sync
- name: format
run: rye run ruff format --check src/
- name: auto fix
if: ${{ failure() }}
run: rye run ruff format src/
- name: suggest changes
if: ${{ failure() }}
uses: parkerbxyz/[email protected]
mypy:
runs-on: 'ubuntu-20.04'
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup rye
uses: eifinger/setup-rye@v3
- name: install dependencies
run: rye sync
- name: type check
run: rye run mypy --disable-error-code "import" src/