Skip to content

Bump KyleMayes/install-llvm-action from 2.0.4 to 2.0.5 #119

Bump KyleMayes/install-llvm-action from 2.0.4 to 2.0.5

Bump KyleMayes/install-llvm-action from 2.0.4 to 2.0.5 #119

Workflow file for this run

name: Build
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Cargo cache
uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --no-deps -- -D warnings
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: '**/pyproject.toml'
- run: pip install -e ./tsar-py
- run: pip install pylint black mypy
- run: black --check --config ./tsar-py/pyproject.toml tsar-py
- run: mypy --config-file ./tsar-py/pyproject.toml tsar-py
- run: pylint --rcfile tsar-py/pyproject.toml tsar-py
build:
runs-on: ubuntu-latest
needs: [lint]
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Cargo cache
uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
command: test
args: --release
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
cache-dependency-path: '**/pyproject.toml'
- run: pip install -e ./tsar-py