Skip to content

Bump libc from 0.2.182 to 0.2.183 #109

Bump libc from 0.2.182 to 0.2.183

Bump libc from 0.2.182 to 0.2.183 #109

Workflow file for this run

name: CI
on:
push:
env:
PYTHON_VERSION: 3.14.2
PRECOMMIT_VERSION: 4.5.1
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Cache Rust toolchains
uses: actions/cache@v5
with:
path: ~/.rustup
key: ${{ runner.os }}-rust-toolchains-${{ hashFiles('rust-toolchain.toml') }}
restore-keys: ${{ runner.os }}-rust-toolchains-
- name: Cache Python dependencies
uses: actions/cache@v5
with:
path: ${{ env.pythonLocation }}
key: ${{ runner.os }}-python-${{ env.PYTHON_VERSION }}-pip-pre-commit-${{ env.PRECOMMIT_VERSION }}
restore-keys: ${{ runner.os }}-python-${{ env.PYTHON_VERSION }}-pip-
- name: Cache Cargo registry and build
uses: actions/cache@v5
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
cache: false
- name: Install pre-commit
run: |
python -m pip install --upgrade pip
pip install pre-commit==${{ env.PRECOMMIT_VERSION }}
- name: Cache pre-commit environments
uses: actions/cache@v5
with:
path: ~/.cache/pre-commit
key: python-${{ env.PYTHON_VERSION }}-pre-commit-${{ env.PRECOMMIT_VERSION }}-${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: python-${{ env.PYTHON_VERSION }}-pre-commit-${{ env.PRECOMMIT_VERSION }}
- name: Install Rust dependencies
run: ./scripts/install_rust_dev_dependencies.sh
- name: Compile tests
run: cargo nextest run --no-run
- name: Run linters
id: linters
run: pre-commit run --all-files
continue-on-error: true
- name: Run tests
id: tests
timeout-minutes: 1
run: cargo nextest run
continue-on-error: true
- name: Fail if any previous step failed
if: |
steps.linters.outcome == 'failure'
|| steps.tests.outcome == 'failure'
run: exit 1