Skip to content

Commit 63a8f44

Browse files
author
jsf9k
committed
# Conflicts: # requirements.txt
2 parents 5b744ba + 6ae498b commit 63a8f44

File tree

7 files changed

+39
-29
lines changed

7 files changed

+39
-29
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on: # yamllint disable-line rule:truthy
55
merge_group:
66
types:
77
- checks_requested
8+
# We use the default activity types for the pull_request event as specified here:
9+
# https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request
810
pull_request:
911
push:
1012
repository_dispatch:
@@ -118,18 +120,20 @@ jobs:
118120
name: Lookup Go cache directory
119121
run: |
120122
echo "dir=$(go env GOCACHE)" >> $GITHUB_OUTPUT
121-
- uses: actions/cache@v4
123+
- uses: actions/cache@v5
122124
env:
123-
BASE_CACHE_KEY: ${{ github.job }}-${{ runner.os }}-\
124-
py${{ steps.setup-python.outputs.python-version }}-\
125-
go${{ steps.setup-go.outputs.go-version }}-\
126-
packer${{ steps.setup-env.outputs.packer-version }}-\
127-
tf${{ steps.setup-env.outputs.terraform-version }}-
125+
BASE_CACHE_KEY: >-
126+
${{ github.job }}-${{ runner.os
127+
}}-py${{ steps.setup-python.outputs.python-version
128+
}}-go${{ steps.setup-go.outputs.go-version
129+
}}-packer${{ steps.setup-env.outputs.packer-version
130+
}}-tf${{ steps.setup-env.outputs.terraform-version }}-
128131
with:
129-
key: ${{ env.BASE_CACHE_KEY }}\
130-
${{ hashFiles('**/requirements-test.txt') }}-\
131-
${{ hashFiles('**/requirements.txt') }}-\
132-
${{ hashFiles('**/.pre-commit-config.yaml') }}
132+
key: >-
133+
${{ env.BASE_CACHE_KEY }}${{
134+
hashFiles('**/requirements-test.txt') }}-${{
135+
hashFiles('**/requirements.txt') }}-${{
136+
hashFiles('**/.pre-commit-config.yaml') }}
133137
# Note that the .terraform directory IS NOT included in the
134138
# cache because if we were caching, then we would need to use
135139
# the `-upgrade=true` option. This option blindly pulls down the
@@ -187,7 +191,7 @@ jobs:
187191
-o $(go env GOPATH)/bin/terraform-docs
188192
- name: Install dependencies
189193
run: |
190-
python -m pip install --upgrade pip setuptools wheel
194+
python -m pip install --upgrade pip setuptools
191195
pip install --upgrade --requirement requirements-test.txt
192196
- name: Set up pre-commit hook environments
193197
run: pre-commit install-hooks

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
merge_group:
1313
types:
1414
- checks_requested
15+
# We use the default activity types for the pull_request event as specified here:
16+
# https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request
1517
pull_request:
1618
# The branches here must be a subset of the ones in the push key
1719
branches:

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on: # yamllint disable-line rule:truthy
55
merge_group:
66
types:
77
- checks_requested
8+
# We use the default activity types for the pull_request event as specified here:
9+
# https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request
810
pull_request:
911

1012
# Set a default shell for any run steps. The `-Eueo pipefail` sets errtrace,

.github/workflows/label-prs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
name: Label pull requests
33

44
on: # yamllint disable-line rule:truthy
5+
# We use the default activity types for the pull_request event as specified here:
6+
# https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#pull_request
57
pull_request:
6-
types:
7-
- edited
8-
- opened
9-
- synchronize
108

119
# Set a default shell for any run steps. The `-Eueo pipefail` sets errtrace,
1210
# nounset, errexit, and pipefail. The `-x` will print all commands as they are

.pre-commit-config.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,32 +47,32 @@ repos:
4747

4848
# Text file hooks
4949
- repo: https://github.com/igorshubovych/markdownlint-cli
50-
rev: v0.45.0
50+
rev: v0.47.0
5151
hooks:
5252
- id: markdownlint
5353
args:
5454
- --config=.mdl_config.yaml
5555
- repo: https://github.com/rbubley/mirrors-prettier
56-
rev: v3.6.2
56+
rev: v3.8.1
5757
hooks:
5858
- id: prettier
5959
- repo: https://github.com/adrienverge/yamllint
60-
rev: v1.37.1
60+
rev: v1.38.0
6161
hooks:
6262
- id: yamllint
6363
args:
6464
- --strict
6565

6666
# GitHub Actions hooks
6767
- repo: https://github.com/python-jsonschema/check-jsonschema
68-
rev: 0.35.0
68+
rev: 0.36.2
6969
hooks:
7070
- id: check-github-actions
7171
- id: check-github-workflows
7272

7373
# pre-commit hooks
7474
- repo: https://github.com/pre-commit/pre-commit
75-
rev: v4.4.0
75+
rev: v4.5.1
7676
hooks:
7777
- id: validate_manifest
7878

@@ -131,13 +131,13 @@ repos:
131131

132132
# Python hooks
133133
- repo: https://github.com/PyCQA/bandit
134-
rev: 1.9.1
134+
rev: 1.9.3
135135
hooks:
136136
- id: bandit
137137
args:
138138
- --config=.bandit.yml
139139
- repo: https://github.com/psf/black-pre-commit-mirror
140-
rev: 25.11.0
140+
rev: 26.1.0
141141
hooks:
142142
- id: black
143143
- repo: https://github.com/PyCQA/flake8
@@ -147,18 +147,18 @@ repos:
147147
additional_dependencies:
148148
- flake8-docstrings==1.7.0
149149
- repo: https://github.com/PyCQA/isort
150-
rev: 7.0.0
150+
rev: 8.0.0
151151
hooks:
152152
- id: isort
153153
- repo: https://github.com/pre-commit/mirrors-mypy
154-
rev: v1.18.2
154+
rev: v1.19.1
155155
hooks:
156156
- id: mypy
157157
additional_dependencies:
158158
- types-PyYAML
159159
- types-requests
160160
- repo: https://github.com/pypa/pip-audit
161-
rev: v2.9.0
161+
rev: v2.10.0
162162
hooks:
163163
- id: pip-audit
164164
args:
@@ -170,7 +170,7 @@ repos:
170170
- --requirement
171171
- requirements.txt
172172
- repo: https://github.com/asottile/pyupgrade
173-
rev: v3.21.1
173+
rev: v3.21.2
174174
hooks:
175175
- id: pyupgrade
176176
args:
@@ -182,7 +182,7 @@ repos:
182182

183183
# Ansible hooks
184184
- repo: https://github.com/ansible/ansible-lint
185-
rev: v25.11.1
185+
rev: v26.1.1
186186
hooks:
187187
- id: ansible-lint
188188
additional_dependencies:
@@ -208,7 +208,7 @@ repos:
208208

209209
# Terraform hooks
210210
- repo: https://github.com/antonbabenko/pre-commit-terraform
211-
rev: v1.103.0
211+
rev: v1.105.0
212212
hooks:
213213
- id: terraform_fmt
214214
- id: terraform_validate

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
<<<<<<< HEAD
12
-e .
3+
=======
4+
setuptools>=70.1
5+
>>>>>>> 6ae498b36fa7254aa6967362544a55c30ff3d7ce

setup-env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ fi
271271
pyenv local "${env_name}"
272272

273273
# Upgrade pip and friends
274-
python3 -m pip install --upgrade pip setuptools wheel
274+
python3 -m pip install --upgrade pip setuptools
275275

276276
# Find a requirements file (if possible) and install
277277
for req_file in "requirements-dev.txt" "requirements-test.txt" "requirements.txt"; do

0 commit comments

Comments
 (0)