Compare commits

...

23 Commits

Author SHA1 Message Date
dependabot[bot] 43ba68a782
Bump actions/setup-go from 2 to 3 2 years ago
Nick 83183b8b13
Merge pull request #521 from cisagov/lineage/skeleton 2 years ago
Nicholas McDonnell 6d39743372
Enable Dependabot ignore directives 2 years ago
Nicholas McDonnell 6767ea9d93
Merge github.com:cisagov/skeleton-generic into lineage/skeleton 2 years ago
Nick 4215ba378e
Merge pull request #109 from cisagov/improvement/add_github_actions_pre-commit_hooks 2 years ago
Nicholas McDonnell 49d87d40e4
Add pre-commit hooks to validate GitHub Actions content 2 years ago
Nick da532a590f
Merge pull request #105 from cisagov/maintenance/update_pre-commit_hooks 2 years ago
Nick 57d6ac04b0
Merge branch 'develop' into maintenance/update_pre-commit_hooks 2 years ago
Nick 504ed9ed45
Merge pull request #106 from cisagov/improvement/use_python_3.10_for_gha 2 years ago
Nick 14aff9cadc
Merge branch 'develop' into improvement/use_python_3.10_for_gha 2 years ago
Nick d168151a3c
Merge pull request #104 from cisagov/dependabot/github_actions/actions/cache-3 2 years ago
Nick a9c93d0ff9
Merge pull request #107 from cisagov/improvement/add_dependabot_ignores_for_github_actions 2 years ago
Nick 496ea93027
Merge branch 'develop' into improvement/add_dependabot_ignores_for_github_actions 2 years ago
dependabot[bot] c576ef56fb
Bump actions/cache from 2 to 3 2 years ago
Nick e190ae75db
Merge pull request #102 from cisagov/dependabot/github_actions/actions/checkout-3 2 years ago
Nick 6869c6830f
Merge branch 'develop' into dependabot/github_actions/actions/checkout-3 2 years ago
Nick a3f12f43b3
Merge pull request #101 from cisagov/dependabot/github_actions/actions/setup-python-3 2 years ago
Nicholas McDonnell e22c12cbd4
Use consistent quoting for software versions 2 years ago
Nicholas McDonnell 583992602c
Upgrade from Python 3.9 to 3.10 for the `lint` job in GHA 2 years ago
Nicholas McDonnell 511a37cf1e
Add Dependabot ignore directives 2 years ago
Nicholas McDonnell 9a0380870c
Update pre-commit hooks 2 years ago
dependabot[bot] 3406c2d420
Bump actions/checkout from 2 to 3 2 years ago
dependabot[bot] 4ee1bfd96b
Bump actions/setup-python from 2 to 3 2 years ago
  1. 4
      .github/dependabot.yml
  2. 10
      .github/workflows/build.yml
  3. 8
      .github/workflows/update_software_lists.yml
  4. 9
      .pre-commit-config.yaml

@ -11,6 +11,10 @@ updates:
directory: "/" directory: "/"
schedule: schedule:
interval: "weekly" interval: "weekly"
ignore:
- dependency-name: actions/cache
- dependency-name: actions/checkout
- dependency-name: actions/setup-python
- package-ecosystem: "pip" - package-ecosystem: "pip"
directory: "/" directory: "/"

@ -17,16 +17,16 @@ jobs:
steps: steps:
- id: setup-env - id: setup-env
uses: cisagov/setup-env-github-action@develop uses: cisagov/setup-env-github-action@develop
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- id: setup-python - id: setup-python
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: "3.10" python-version: "3.10"
# We need the Go version and Go cache location for the actions/cache step, # We need the Go version and Go cache location for the actions/cache step,
# so the Go installation must happen before that. # so the Go installation must happen before that.
- uses: actions/setup-go@v2 - uses: actions/setup-go@v3
with: with:
go-version: '1.16' go-version: "1.16"
- name: Store installed Go version - name: Store installed Go version
id: go-version id: go-version
run: | run: |
@ -36,7 +36,7 @@ jobs:
id: go-cache id: go-cache
run: | run: |
echo "::set-output name=dir::$(go env GOCACHE)" echo "::set-output name=dir::$(go env GOCACHE)"
- uses: actions/cache@v2 - uses: actions/cache@v3
env: env:
BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\ BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\
py${{ steps.setup-python.outputs.python-version }}-\ py${{ steps.setup-python.outputs.python-version }}-\

@ -43,14 +43,14 @@ jobs:
# Don't run if we're seeing an update push # Don't run if we're seeing an update push
if: github.actor != needs.setup.outputs.git_user if: github.actor != needs.setup.outputs.git_user
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
token: ${{ secrets.CISAGOVBOT_PAT }} token: ${{ secrets.CISAGOVBOT_PAT }}
- id: setup-python - id: setup-python
uses: actions/setup-python@v2 uses: actions/setup-python@v3
with: with:
python-version: "3.10" python-version: "3.10"
- uses: actions/cache@v2 - uses: actions/cache@v3
env: env:
BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\ BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\
py${{ steps.setup-python.outputs.python-version }}-" py${{ steps.setup-python.outputs.python-version }}-"
@ -86,7 +86,7 @@ jobs:
- generate_updates - generate_updates
if: needs.generate_updates.outputs.has_updates == 'true' if: needs.generate_updates.outputs.has_updates == 'true'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
token: ${{ secrets.CISAGOVBOT_PAT }} token: ${{ secrets.CISAGOVBOT_PAT }}
- name: Configure git - name: Configure git

@ -37,7 +37,7 @@ repos:
args: args:
- --config=.mdl_config.yaml - --config=.mdl_config.yaml
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1 rev: v2.6.1
hooks: hooks:
- id: prettier - id: prettier
- repo: https://github.com/adrienverge/yamllint - repo: https://github.com/adrienverge/yamllint
@ -47,6 +47,13 @@ repos:
args: args:
- --strict - --strict
# GitHub Actions hooks
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.14.2
hooks:
- id: check-github-actions
- id: check-github-workflows
# Shell script hooks # Shell script hooks
- repo: https://github.com/cisagov/pre-commit-shfmt - repo: https://github.com/cisagov/pre-commit-shfmt
rev: v0.0.2 rev: v0.0.2

Loading…
Cancel
Save