Skip to content

Pin Rust toolchain in workflows #12

Pin Rust toolchain in workflows

Pin Rust toolchain in workflows #12

Workflow file for this run

name: Lint
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
# Cancel previous runs on the same PR.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
RUST_TOOLCHAIN: nightly-2024-01-17
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: curl --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain "$RUST_TOOLCHAIN"
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: pip install -r requirements.txt
- run: scripts/lint.sh