Skip to content

Commit

Permalink
Merge pull request #302 from trussworks/barry-remove-tests
Browse files Browse the repository at this point in the history
ci: remove tests update readme, pre-commit, renovate, format files
  • Loading branch information
esacteksab authored Dec 6, 2022
2 parents cdb782e + d51390a commit e3a7907
Show file tree
Hide file tree
Showing 21 changed files with 102 additions and 1,737 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: validate

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
validate:
uses: trussworks/shared-actions/.github/workflows/validate.yml@main
35 changes: 22 additions & 13 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-json
- id: check-merge-conflict
Expand All @@ -10,25 +10,34 @@ repos:
args:
- --autofix
- id: trailing-whitespace
- id: check-symlinks
- id: end-of-file-fixer
- id: mixed-line-ending

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
hooks:
- id: mdformat
additional_dependencies:
- mdformat-gfm
- mdformat-toc
# mdformat fights with terraform_docs
exclude: README.m(ark)?d(own)?

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
hooks:
- id: markdownlint

- repo: https://github.com/detailyang/pre-commit-shell
rev: 1.0.5
hooks:
- id: shell-lint

- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.75.0
rev: v1.77.0
hooks:
- id: terraform_docs
args:
- --args=--config=.terraform-docs.yml
- id: terraform_fmt

- repo: https://github.com/golangci/golangci-lint
rev: v1.49.0
hooks:
- id: golangci-lint
args: [--timeout=3m]

- repo: https://github.com/trussworks/pre-commit-hooks
rev: v1.1.1
hooks:
- id: circleci-validate
4 changes: 4 additions & 0 deletions .terraform-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
settings:
html: false
anchor: false
formatter: "markdown table"
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ ensure_pre_commit: .git/hooks/pre-commit ## Ensure pre-commit is installed
pre_commit_tests: ensure_pre_commit ## Run pre-commit tests
pre-commit run --all-files

.PHONY: test
test: pre_commit_tests
bin/make-test

.PHONY: clean
clean:
rm -f .*.stamp
Expand Down
134 changes: 59 additions & 75 deletions README.md

Large diffs are not rendered by default.

16 changes: 0 additions & 16 deletions bin/make-test

This file was deleted.

87 changes: 0 additions & 87 deletions go.mod

This file was deleted.

Loading

0 comments on commit e3a7907

Please sign in to comment.