Skip to content

Commit 2477d9d

Browse files
committed
gha: test docker compose up
1 parent cd40fab commit 2477d9d

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

.github/workflows/lint.yml

+12
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ permissions: # added using https://github.com/step-security/secure-workflows
66
contents: read
77

88
jobs:
9+
docker:
10+
timeout-minutes: 10
11+
name: Test docker compose up
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
15+
uses: actions/checkout@v3
16+
- name: Start containers
17+
run: docker-compose -f "docker-compose.yml" up -d --build
18+
- name: Stop containers
19+
if: always()
20+
run: docker-compose -f "docker-compose.yml" down
921
markdown-link-check:
1022
name: Check for broken links in Markdown files
1123
runs-on: ubuntu-latest

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN apk --no-cache add \
2121
git
2222

2323
# Build and install LLVM
24-
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; }
24+
RUN wget -q "https://github.com/llvm/llvm-project/archive/llvmorg-${LLVM_VERSION}.tar.gz" || { echo "Error downloading LLVM version ${LLVM_VERSION}" ; exit 1; }
2525

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

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '3.8'
1+
version: '3.9'
22

33
services:
44
one:

0 commit comments

Comments
 (0)