Skip to content

Commit 3a692c9

Browse files
authored
Merge pull request #103 from cisagov/lineage/skeleton
Lineage pull request for: skeleton
2 parents 16dc190 + 5ca9873 commit 3a692c9

File tree

3 files changed

+26
-15
lines changed

3 files changed

+26
-15
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ updates:
1111
directory: "/"
1212
schedule:
1313
interval: "weekly"
14+
ignore:
15+
- dependency-name: actions/cache
16+
- dependency-name: actions/checkout
17+
- dependency-name: actions/setup-python
1418

1519
- package-ecosystem: "pip"
1620
directory: "/"

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919
steps:
2020
- id: setup-env
2121
uses: cisagov/setup-env-github-action@develop
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
2323
- id: setup-python
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v3
2525
with:
26-
python-version: 3.9
26+
python-version: "3.10"
2727
# We need the Go version and Go cache location for the actions/cache step,
2828
# so the Go installation must happen before that.
2929
- uses: actions/setup-go@v2
3030
with:
31-
go-version: '1.16'
31+
go-version: "1.16"
3232
- name: Store installed Go version
3333
id: go-version
3434
run: |
@@ -38,7 +38,7 @@ jobs:
3838
id: go-cache
3939
run: |
4040
echo "::set-output name=dir::$(go env GOCACHE)"
41-
- uses: actions/cache@v2
41+
- uses: actions/cache@v3
4242
env:
4343
BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\
4444
py${{ steps.setup-python.outputs.python-version }}-\
@@ -110,12 +110,12 @@ jobs:
110110
- default
111111
runs-on: ubuntu-latest
112112
steps:
113-
- uses: actions/checkout@v2
113+
- uses: actions/checkout@v3
114114
- id: setup-python
115-
uses: actions/setup-python@v2
115+
uses: actions/setup-python@v3
116116
with:
117-
python-version: 3.9
118-
- uses: actions/cache@v2
117+
python-version: "3.10"
118+
- uses: actions/cache@v3
119119
env:
120120
BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\
121121
py${{ steps.setup-python.outputs.python-version }}-"

.pre-commit-config.yaml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repos:
3737
args:
3838
- --config=.mdl_config.yaml
3939
- repo: https://github.com/pre-commit/mirrors-prettier
40-
rev: v2.5.1
40+
rev: v2.6.1
4141
hooks:
4242
- id: prettier
4343
- repo: https://github.com/adrienverge/yamllint
@@ -47,6 +47,13 @@ repos:
4747
args:
4848
- --strict
4949

50+
# GitHub Actions hooks
51+
- repo: https://github.com/python-jsonschema/check-jsonschema
52+
rev: 0.14.2
53+
hooks:
54+
- id: check-github-actions
55+
- id: check-github-workflows
56+
5057
# pre-commit hooks
5158
- repo: https://github.com/pre-commit/pre-commit
5259
rev: v2.17.0
@@ -75,15 +82,15 @@ repos:
7582

7683
# Python hooks
7784
- repo: https://github.com/PyCQA/bandit
78-
rev: 1.7.2
85+
rev: 1.7.4
7986
hooks:
8087
- id: bandit
8188
# Bandit complains about the use of assert() in tests
8289
exclude: molecule/default/tests
8390
args:
8491
- --config=.bandit.yml
8592
- repo: https://github.com/psf/black
86-
rev: 22.1.0
93+
rev: 22.3.0
8794
hooks:
8895
- id: black
8996
- repo: https://gitlab.com/pycqa/flake8
@@ -97,11 +104,11 @@ repos:
97104
hooks:
98105
- id: isort
99106
- repo: https://github.com/pre-commit/mirrors-mypy
100-
rev: v0.931
107+
rev: v0.942
101108
hooks:
102109
- id: mypy
103110
- repo: https://github.com/asottile/pyupgrade
104-
rev: v2.31.0
111+
rev: v2.31.1
105112
hooks:
106113
- id: pyupgrade
107114

@@ -121,7 +128,7 @@ repos:
121128

122129
# Docker hooks
123130
- repo: https://github.com/IamTheFij/docker-pre-commit
124-
rev: v2.0.1
131+
rev: v2.1.0
125132
hooks:
126133
- id: docker-compose-check
127134

0 commit comments

Comments
 (0)