Skip to content

Update ring requirement from 0.16 to 0.17 #380

Update ring requirement from 0.16 to 0.17

Update ring requirement from 0.16 to 0.17 #380

Workflow file for this run

name: Cargo Checks
on: [push, pull_request]
jobs:
check:
name: Cargo Checks
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4.1.1
with:
submodules: true
- name: Set up Python
uses: actions/setup-python@v4.7.0
with:
python-version: 3.8
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install ply six
- name: Run the generator
run: python generate.py
- name: Check generated files against repo
run: if [[ ! -z `git status --porcelain=v1` ]]; then echo "::error::Workspace is dirty after running generator. Did you remember to check in the generated files?"; exit 1; fi
- name: Install MSRV toolchain
run: rustup install 1.65.0 --profile minimal
- name: Run cargo test
run: rustup run 1.65.0 cargo test
- name: Install nightly toolchain
run: |
rustup install nightly --profile minimal
rustup component add clippy --toolchain nightly
- name: Run clippy
run: rustup run nightly cargo clippy --all-targets --all-features -- --deny warnings