Skip to content

Commit

Permalink
chore: cruft updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsimonemms committed Jun 13, 2024
1 parent d4b122e commit ec88f3f
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/mrsimonemms/new",
"commit": "7b399837decdab782ba09613a447678ea1f17abb",
"commit": "01f260466e94aed853cf08ea0cd85a7a49fe8302",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devcontainer",
"image": "ghcr.io/mrsimonemms/devcontainers/full",
"name": "devcontainer",
"features": {},
"customizations": {
"vscode": {
Expand Down
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ header:
- "go.*"
- "**/*.{json,md,yml,yaml}"
- gitconfig
- "**/.gitkeep"
comment: on-failure
language:
Go:
Expand Down
12 changes: 8 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@

repos:
- repo: https://github.com/mrsimonemms/pre-commit-hooks
rev: v1.1.0
rev: v1.2.0
hooks:
- id: license-eye
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: pretty-format-json
args:
Expand All @@ -36,7 +36,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.3.0
rev: v3.2.0
hooks:
- id: conventional-pre-commit
stages:
Expand All @@ -47,7 +47,11 @@ repos:
- id: markdown-toc
exclude: ^features
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.8.1
rev: v0.13.0
hooks:
- id: markdownlint-cli2
exclude: ^features
- repo: https://github.com/mrsimonemms/toodaloo
rev: v0.2.2
hooks:
- id: scan
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ build-images:
done
.PHONY: build-images

cruft-update:
ifeq (,$(wildcard .cruft.json))
@echo "Cruft not configured"
else
@cruft check || cruft update --skip-apply-ask --refresh-private-variables
endif
.PHONY: cruft-update

install-devcontainers:
@if ! command devcontainer --version; then \
echo "Installing Dev Containers CLI"; \
Expand Down
5 changes: 5 additions & 0 deletions toodaloo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# List of todos

> Generated by [Toodaloo](https://toodaloo.dev)
πŸŽ‰πŸŽ‰πŸŽ‰ Woohoo! Nothing to do πŸŽ‰πŸŽ‰πŸŽ‰

0 comments on commit ec88f3f

Please sign in to comment.