Skip to content

ci: add CI, pre-commit, rustfmt, and dependabot configs #2

ci: add CI, pre-commit, rustfmt, and dependabot configs

ci: add CI, pre-commit, rustfmt, and dependabot configs #2

Workflow file for this run

name: Pre-commit checks
on:
push:
pull_request:
jobs:
pre-commit:
# Run on external PRs and pushes to branches on the repo
# This is to avoid double running on PRs from internal branches
if:
github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
github.repository
name: Linting Checks
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Check files
uses: pre-commit/action@v3.0.1