From b4800f730b129df9fe439d4b7185570863ae4452 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 16 Dec 2020 00:42:36 +0000 Subject: Split docker action in separate file --- .github/workflows/validate.yml | 34 ---------------------------------- .github/workflows/validate_direct.yml | 29 +++++++++++++++++++++++++++++ .github/workflows/validate_docker.yml | 5 +++++ 3 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 .github/workflows/validate.yml create mode 100644 .github/workflows/validate_direct.yml create mode 100644 .github/workflows/validate_docker.yml (limited to '.github') diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml deleted file mode 100644 index d35e682..0000000 --- a/.github/workflows/validate.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Validate TCPD - -on: push - -jobs: - tcpd-ubuntu: - name: check TCPD - runs-on: ubuntu-latest - - steps: - - name: Install dependencies - 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 - - - name: Ensure clean - run: make clean - shell: bash - - - name: Build and verify - run: make test - shell: bash - - tcpd-docker: - runs: - using: 'docker' - image: 'Dockerfile' diff --git a/.github/workflows/validate_direct.yml b/.github/workflows/validate_direct.yml new file mode 100644 index 0000000..cdf25b5 --- /dev/null +++ b/.github/workflows/validate_direct.yml @@ -0,0 +1,29 @@ +name: Validate TCPD (direct) + +on: push + +jobs: + tcpd-ubuntu: + name: check TCPD + runs-on: ubuntu-latest + + steps: + - name: Install dependencies + 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 + + - name: Ensure clean + run: make clean + shell: bash + + - name: Build and verify + run: make test + shell: bash diff --git a/.github/workflows/validate_docker.yml b/.github/workflows/validate_docker.yml new file mode 100644 index 0000000..e645469 --- /dev/null +++ b/.github/workflows/validate_docker.yml @@ -0,0 +1,5 @@ +name: Validate TCPD (docker) + +runs: + using: 'docker' + image: 'Dockerfile' -- cgit v1.2.3