From 55bebcef3d3d8c0c7004f00eb8f95ad118ae2561 Mon Sep 17 00:00:00 2001 From: "Bo-Yi.Wu" Date: Sun, 25 Dec 2022 14:21:18 +0800 Subject: [PATCH] chore(CI): add sshd service and testing Signed-off-by: Bo-Yi.Wu --- .github/workflows/lint.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 973a2a4..1dfd732 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -32,3 +32,19 @@ jobs: name: hadolint for Dockerfile.linux.arm with: dockerfile: docker/Dockerfile.linux.arm + + testing: + runs-on: ubuntu-latest + container: golang:1.19-alpine + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: setup sshd server + run: | + apk add git make curl perl bash build-base zlib-dev ucl-dev + make ssh-server + + - name: testing + run: | + make test