Update Rust crate insta to v1.39.0 (#11) #54
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: Test | |
on: # yamllint disable-line rule:truthy | |
push: | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: Library | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- run: cargo test | |
type-stubs: | |
name: Type Stubs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- uses: PyO3/maturin-action@v1 | |
with: | |
target: ${{ matrix.target }} | |
args: --out dist | |
sccache: 'true' | |
- run: pip install mypy ./dist/antsi-*.whl | |
- run: stubtest antsi |