mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Start running pre-commit under Python 3.10
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
d235e83c15
commit
788fcd954c
3 changed files with 2 additions and 17 deletions
2
.github/workflows/pre-commit-action.yml
vendored
2
.github/workflows/pre-commit-action.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: python:3.8.6-slim-buster
|
image: python:3.10-slim-buster
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
default_language_version:
|
default_language_version:
|
||||||
python: python3
|
python: python3
|
||||||
|
|
||||||
exclude: ^(doc/_static/.*|doc/_themes/.*)$
|
exclude: ^(doc/_static/.*|doc/_themes/.*)$
|
||||||
repos:
|
repos:
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
@Library('salt@master-1.11') _
|
|
||||||
|
|
||||||
if (env.CHANGE_ID) {
|
|
||||||
// This is a PR
|
|
||||||
pre_commit_skips = ''
|
|
||||||
} else {
|
|
||||||
// This is a branch build
|
|
||||||
pre_commit_skips = ''
|
|
||||||
}
|
|
||||||
|
|
||||||
runPreCommit(
|
|
||||||
env: env,
|
|
||||||
pre_commit_skips: pre_commit_skips)
|
|
||||||
|
|
||||||
// vim: ft=groovy
|
|
Loading…
Add table
Reference in a new issue