Skip to content

refactor: use tfroot-runner and fetch canonical pre-commit config #16

refactor: use tfroot-runner and fetch canonical pre-commit config

refactor: use tfroot-runner and fetch canonical pre-commit config #16

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
lint:
name: Lint
runs-on: arc
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install actionlint
run: |
mkdir -p "$HOME/.local/bin"
curl -sSL https://github.com/rhysd/actionlint/releases/download/v1.7.7/actionlint_1.7.7_linux_amd64.tar.gz | \
tar xz -C "$HOME/.local/bin" actionlint
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Run pre-commit
uses: pre-commit/action@v3.0.1