mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-07-02 21:52:51 +08:00
chore(CI): add sshd service and testing
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
dfa002a267
commit
55bebcef3d
16
.github/workflows/lint.yml
vendored
16
.github/workflows/lint.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user