File tree Expand file tree Collapse file tree 4 files changed +20
-18
lines changed Expand file tree Collapse file tree 4 files changed +20
-18
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- # See https://ansible-lint.readthedocs.io/en/latest/configuring.html
3
- # for a list of the configuration elements that can exist in this
4
- # file.
2
+ # See https://ansible-lint.readthedocs.io/configuring/ for a list of
3
+ # the configuration elements that can exist in this file.
5
4
enable_list:
6
5
# Useful checks that one must opt-into. See here for more details:
7
- # https://ansible-lint.readthedocs.io/en/latest/ rules.html
6
+ # https://ansible-lint.readthedocs.io/rules/
8
7
- fcqn-builtins
9
8
- no-log-password
10
9
- no-same-owner
Original file line number Diff line number Diff line change 29
29
- id : setup-go
30
30
uses : actions/setup-go@v4
31
31
with :
32
- go-version : " 1.19"
32
+ # There is no expectation for actual Go code so we disable caching as
33
+ # it relies on the existence of a go.sum file.
34
+ cache : false
35
+ go-version : " 1.20"
33
36
- name : Lookup Go cache directory
34
37
id : go-cache
35
38
run : |
Original file line number Diff line number Diff line change @@ -31,32 +31,32 @@ repos:
31
31
32
32
# Text file hooks
33
33
- repo : https://github.com/igorshubovych/markdownlint-cli
34
- rev : v0.33 .0
34
+ rev : v0.34 .0
35
35
hooks :
36
36
- id : markdownlint
37
37
args :
38
38
- --config=.mdl_config.yaml
39
39
- repo : https://github.com/pre-commit/mirrors-prettier
40
- rev : v3.0.0-alpha.6
40
+ rev : v3.0.0-alpha.9-for-vscode
41
41
hooks :
42
42
- id : prettier
43
43
- repo : https://github.com/adrienverge/yamllint
44
- rev : v1.30 .0
44
+ rev : v1.32 .0
45
45
hooks :
46
46
- id : yamllint
47
47
args :
48
48
- --strict
49
49
50
50
# GitHub Actions hooks
51
51
- repo : https://github.com/python-jsonschema/check-jsonschema
52
- rev : 0.22.0
52
+ rev : 0.23.1
53
53
hooks :
54
54
- id : check-github-actions
55
55
- id : check-github-workflows
56
56
57
57
# pre-commit hooks
58
58
- repo : https://github.com/pre-commit/pre-commit
59
- rev : v3.2.1
59
+ rev : v3.3.2
60
60
hooks :
61
61
- id : validate_manifest
62
62
@@ -107,7 +107,7 @@ repos:
107
107
args :
108
108
- --config=.bandit.yml
109
109
- repo : https://github.com/psf/black
110
- rev : 23.1 .0
110
+ rev : 23.3 .0
111
111
hooks :
112
112
- id : black
113
113
- repo : https://github.com/PyCQA/flake8
@@ -121,31 +121,31 @@ repos:
121
121
hooks :
122
122
- id : isort
123
123
- repo : https://github.com/pre-commit/mirrors-mypy
124
- rev : v1.1.1
124
+ rev : v1.3.0
125
125
hooks :
126
126
- id : mypy
127
127
- repo : https://github.com/asottile/pyupgrade
128
- rev : v3.3.1
128
+ rev : v3.4.0
129
129
hooks :
130
130
- id : pyupgrade
131
131
132
132
# Ansible hooks
133
133
- repo : https://github.com/ansible-community/ansible-lint
134
- rev : v5.4 .0
134
+ rev : v6.17 .0
135
135
hooks :
136
136
- id : ansible-lint
137
137
# files: molecule/default/playbook.yml
138
138
139
139
# Terraform hooks
140
140
- repo : https://github.com/antonbabenko/pre-commit-terraform
141
- rev : v1.77.1
141
+ rev : v1.80.0
142
142
hooks :
143
143
- id : terraform_fmt
144
144
- id : terraform_validate
145
145
146
146
# Docker hooks
147
147
- repo : https://github.com/IamTheFij/docker-pre-commit
148
- rev : v2.1 .1
148
+ rev : v3.0 .1
149
149
hooks :
150
150
- id : docker-compose-check
151
151
Original file line number Diff line number Diff line change 65
65
eval set -- " $PARAMS "
66
66
67
67
# Check to see if pyenv is installed
68
- if [ -z " $( command -v pyenv) " ] || [ -z " $( command -v pyenv-virtualenv) " ]; then
68
+ if [ -z " $( command -v pyenv) " ] || { [ -z " $( command -v pyenv-virtualenv) " ] && [ ! -f " $( pyenv root ) /plugins/pyenv-virtualenv/bin/pyenv-virtualenv " ] ; } ; then
69
69
echo " pyenv and pyenv-virtualenv are required."
70
70
if [[ " $OSTYPE " == " darwin" * ]]; then
71
71
cat << 'END_OF_LINE '
@@ -186,5 +186,5 @@ else:
186
186
END_OF_LINE
187
187
) "
188
188
189
- # Qapla
189
+ # Qapla'
190
190
echo " Success!"
You can’t perform that action at this time.
0 commit comments