chore: update

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
appleboy 2024-03-16 11:25:22 +08:00
parent d880490dd7
commit 1df34af051
No known key found for this signature in database
2 changed files with 4 additions and 9 deletions

View File

@ -34,11 +34,6 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up WARP
uses: fscarmen/warp-on-actions@v1.1
with:
stack: dual
- name: setup sshd server - name: setup sshd server
run: | run: |
apk add git make curl perl bash build-base zlib-dev ucl-dev sudo apk add git make curl perl bash build-base zlib-dev ucl-dev sudo

View File

@ -971,16 +971,16 @@ func TestCommandWithIPv6(t *testing.T) {
======CMD====== ======CMD======
whoami whoami
======END====== ======END======
out: ubuntu out: drone-scp
` `
) )
plugin := Plugin{ plugin := Plugin{
Config: Config{ Config: Config{
Host: []string{"2402:1f00:8000:800::2628"}, Host: []string{"::1"},
Username: "ubuntu", Username: "drone-scp",
Port: 22, Port: 22,
Password: "1234567890", KeyPath: "./tests/.ssh/id_rsa",
Script: []string{ Script: []string{
"whoami", "whoami",
}, },