Add additional Nginx checks (#269)

This commit is contained in:
Léo Colombaro 2021-03-01 16:45:29 +01:00 committed by GitHub
parent 59d0efa149
commit b7eb27ab5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,17 @@ name: server
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Check configuration
uses: docker://nginx:latest
with:
entrypoint: nginx
args: -c /github/workspace/nginx.conf -t
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: