Dockerize 🐳 #22
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
name: Docker Compose linter | |
on: | |
push: | |
paths: | |
- 'docker-compose.yml' | |
pull_request: | |
paths: | |
- 'docker-compose.yml' | |
jobs: | |
lint: | |
name: Lint Docker Compose | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install DCLint | |
run: npm install -g dclint | |
- name: Run DCLint | |
run: dclint . |