Skip to content

changing all the steps #5

changing all the steps

changing all the steps #5

Workflow file for this run

---
name: pre-commit
on: # yamllint disable-line rule:truthy
pull_request:
push:
branches:
- main
- master
jobs:
pre-commit:
runs-on: ubuntu-latest
env:
# these checks currently require a ridiculous number of dependencies :)
# consider repackaging them in a container in the future
SKIP: "web-js-lint-check,web-css-lint-check,web-misc-lint-check,black,golangci-lint"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1 # full repo for tag comparisons, etc
- uses: actions/setup-python@v5
with:
python-version: '3.9'
cache: 'pip'
# this action is not getting new features, but isn't deprecated yet
# switch to just running pre-commit locally when/if that happens that's
# why this one specifies a full version; presumably there will be a
# version bump when things change. :shrug:
- uses: pre-commit/[email protected]
# with:
# extra_args: ""