ci: no det version parameter via continued config #25149
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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/action@v3.0.0 | |
# with: | |
# extra_args: "" |