docs: 完善开发与测试环境
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
name: E2E Tests
|
||||
|
||||
env:
|
||||
KIND_VERSION: v0.33.0
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -26,10 +29,10 @@ jobs:
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
- name: Install the latest version of kind
|
||||
- name: Install kind
|
||||
run: |
|
||||
mkdir -p ./bin
|
||||
curl -Lo ./bin/kind https://kind.sigs.k8s.io/dl/latest/kind-linux-$(go env GOARCH)
|
||||
curl -Lo ./bin/kind https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-$(go env GOARCH)
|
||||
chmod +x ./bin/kind
|
||||
|
||||
- name: Verify Docker and kind
|
||||
|
||||
Reference in New Issue
Block a user