From 62c60527bcbc054a73f74ebff61888828e4ddfdb Mon Sep 17 00:00:00 2001 From: Joey Parrish Date: Tue, 29 Mar 2022 10:56:57 -0700 Subject: [PATCH] ci: Fix Docker build (#4078) This fixes the workflow job failing because of missing sources, and it also fixes the job to run the compiler, not just build the image that _could_ run the compiler. Closes #4076 --- .github/workflows/build-and-test.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index c57f40f34e..00b70fa3bf 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -79,5 +79,10 @@ jobs: name: Docker runs-on: ubuntu-latest steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + ref: ${{ github.event.inputs.ref || github.ref }} + - name: Docker - run: docker build build/docker/ + run: docker-compose -f build/docker/docker-compose.yml up