aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/action.yml5
-rw-r--r--.github/workflows/validate.yml17
2 files changed, 21 insertions, 1 deletions
diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml
new file mode 100644
index 0000000..1a63d5c
--- /dev/null
+++ b/.github/workflows/action.yml
@@ -0,0 +1,5 @@
+name: 'TCPD Docker'
+description: 'Runs the TCPD build script in a Docker container'
+runs:
+ using: 'docker'
+ image: '../../Dockerfile'
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml
index d18a3c6..849e89b 100644
--- a/.github/workflows/validate.yml
+++ b/.github/workflows/validate.yml
@@ -4,7 +4,7 @@ on: push
jobs:
tcpd-ubuntu:
- name: check TCPD
+ name: check TCPD (direct)
runs-on: ubuntu-latest
steps:
@@ -12,6 +12,11 @@ jobs:
run: sudo apt-get update && sudo apt-get install build-essential
shell: bash
+ - name: Install Python 3.6
+ uses: actions/setup-python@v2
+ with:
+ python-version: '3.6'
+
- name: Checkout code
uses: actions/checkout@v2
@@ -23,3 +28,13 @@ jobs:
run: make test
shell: bash
+ tcpd-docker:
+ name: check TCPD (docker)
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: TCPD docker check
+ uses: ./.github/workflows/