This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
Docker Compose config validation #5
Workflow file for this run
This file contains 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
on: pull_request | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
python-version: 3.11.3 | |
cache: pip | |
cache-dependency-path: | | |
dev-requirements.txt | |
- name: Install Python requirements | |
run: | | |
pip install --upgrade pip | |
pip install --no-deps -r dev-requirements.txt | |
# This file is required for Docker Compose validation. | |
- name: Create empty .env file | |
run: touch docker/prometheus-exporter/.env | |
- name: Run checks | |
run: make check |