mirror of
https://github.com/espressif/esp-idf.git
synced 2026-09-22 13:01:16 +03:00
28 lines
624 B
YAML
28 lines
624 B
YAML
check_powershell:
|
|
extends:
|
|
- .before_script:minimal
|
|
stage: pre_check
|
|
image: docker:latest
|
|
services:
|
|
- docker:dind
|
|
tags:
|
|
- dind
|
|
- amd64
|
|
- brew # faster "apk add"
|
|
needs:
|
|
- pipeline_variables
|
|
variables:
|
|
# brew runners always use fetch
|
|
GIT_STRATEGY: fetch
|
|
GIT_DEPTH: 1
|
|
SUBMODULES_TO_FETCH: "none"
|
|
rules:
|
|
- changes:
|
|
- "*.ps1"
|
|
- ".gitlab/ci/pre_commit.yml"
|
|
script:
|
|
- apk add python3
|
|
- apk add py3-pip
|
|
- pip install pre-commit --break-system-packages
|
|
- pre-commit run --hook-stage manual check-powershell-scripts --files $MODIFIED_FILES
|