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
# GitHub Actions workflow for validating NGINX configuration files | |
# https://github.com/jhinch/nginx-linter | |
name: Lint NGINX config files | |
on: [ push ] | |
jobs: | |
lint: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install nginx-linter | |
run: npm install -g nginx-linter | |
- name: Run nginx linter | |
run: nginx-linter --include config/nginx/* --no-follow-includes |