Skip to content

Commit

Permalink
gha: test docker compose up
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed Jan 31, 2023
1 parent cd40fab commit 2477d9d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ permissions: # added using https://github.com/step-security/secure-workflows
contents: read

jobs:
docker:
timeout-minutes: 10
name: Test docker compose up
runs-on: ubuntu-latest
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v3
- name: Start containers
run: docker-compose -f "docker-compose.yml" up -d --build
- name: Stop containers
if: always()
run: docker-compose -f "docker-compose.yml" down
markdown-link-check:
name: Check for broken links in Markdown files
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN apk --no-cache add \
git

# Build and install LLVM
RUN wget --progress=dot:giga "https://github.com/llvm/llvm-project/archive/llvmorg-${LLVM_VERSION}.tar.gz" || { echo "Error downloading LLVM version ${LLVM_VERSION}" ; exit 1; }
RUN wget -q "https://github.com/llvm/llvm-project/archive/llvmorg-${LLVM_VERSION}.tar.gz" || { echo "Error downloading LLVM version ${LLVM_VERSION}" ; exit 1; }

RUN tar zxf llvmorg-${LLVM_VERSION}.tar.gz && rm llvmorg-${LLVM_VERSION}.tar.gz

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: '3.8'
version: '3.9'

services:
one:
Expand Down

0 comments on commit 2477d9d

Please sign in to comment.