Skip to content

Adding build github action workflow. #4

Adding build github action workflow.

Adding build github action workflow. #4

Workflow file for this run

name: Pre-commit Static Analysis
on:
pull_request:
push:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Install Rust toolchain 1.74 (with clippy and rustfmt)
run: rustup toolchain install nightly-2023-12-21 && rustup component add clippy --toolchain nightly-2023-12-21 && rustup component add rustfmt --toolchain nightly-2023-12-21
- uses: pre-commit/action@v3.0.0
with:
extra_args: --all-files