mirror of
https://github.com/nwtgck/handy-sshd.git
synced 2025-06-07 22:53:05 +00:00
ci: test
This commit is contained in:
parent
aac75f81a6
commit
35c29a6de2
1 changed files with 4 additions and 3 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -3,12 +3,11 @@ name: CI
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
build_multi_platform:
|
||||
test:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Go 1.x
|
||||
uses: actions/setup-go@v4
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.20"
|
||||
- name: Build for multi-platform
|
||||
|
@ -29,3 +28,5 @@ jobs:
|
|||
# Build
|
||||
CGO_ENABLED=0 go build -o "${BUILD_PATH}/handy-sshd${EXTENSION}" main/main.go
|
||||
done
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
|
|
Loading…
Add table
Reference in a new issue