Fix grafana image, use shared volume #37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Linters and formatters | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Terraform linter | |
| run: | | |
| terraform version | |
| terraform fmt -check -recursive | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.9' | |
| - name: Install yamllint | |
| run: pip install yamllint | |
| - name: YAML linter | |
| run: | | |
| yamllint --strict . | |
| - name: Dockerfile linter | |
| run: | | |
| docker run --rm -i ghcr.io/hadolint/hadolint < src/grafana/Dockerfile | |
| docker run --rm -i ghcr.io/hadolint/hadolint < src/postgres/Dockerfile |