mirror of
https://github.com/imjasonh/client-go2
synced 2026-07-08 09:05:38 +00:00
add github action
This commit is contained in:
parent
b7c0e36470
commit
f7ba9f0ab2
1 changed files with 24 additions and 0 deletions
24
.github/workflows/build.yaml
vendored
Normal file
24
.github/workflows/build.yaml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: Build
|
||||
|
||||
on:
|
||||
push: ['main']
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: build
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '1.17.x'
|
||||
- uses: engineerd/setup-kind@v0.5.0
|
||||
- run: |
|
||||
go install golang.org/dl/gotip@latest
|
||||
gotip download
|
||||
|
||||
gotip build ./
|
||||
gotip run ./
|
||||
gotip run ./
|
||||
Loading…
Add table
Add a link
Reference in a new issue