From 3495a9fc1dd06c7dcafff9771c61ff93c4f2faab Mon Sep 17 00:00:00 2001 From: Adrien Poupa Date: Mon, 8 May 2023 12:09:14 -0400 Subject: [PATCH] feat: add GitHub action to validate Compose file (#11) feat: add GitHub action to validate Compose file --- .github/workflows/main.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..d430395 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,13 @@ +on: push +jobs: + validate-docker-compose: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install Docker Compose + uses: ndeloof/install-compose-action@v0.0.1 + - name: Setup Environment Variables + run: cp .env.example .env + - name: Validate Docker Compose + run: docker-compose config