fix(deps): update module github.com/onsi/gomega to v1.36.2 #982
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E | |
on: | |
push: | |
branches: | |
- master | |
# Run tests for any PRs. | |
pull_request: | |
env: | |
KIND_VERSION: v0.22.0 | |
KUBECTL_VERSION: v1.29.5 | |
jobs: | |
e2e-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Install kubectl | |
env: | |
KUBECTL_VERSION: ${{ env.KUBECTL_VERSION }} | |
BIN_DIR: ${{ github.workspace }}/tools/ | |
run: | | |
mkdir -p $BIN_DIR | |
curl -sSLo "$BIN_DIR/kubectl" "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" | |
chmod +x "$BIN_DIR/kubectl" | |
echo "$BIN_DIR" >> "$GITHUB_PATH" | |
- uses: engineerd/setup-kind@v0.5.0 | |
with: | |
version: ${{ env.KIND_VERSION }} | |
- name: Info | |
run: | | |
kind version | |
kubectl cluster-info | |
kubectl version | |
- name: Build | |
run: | | |
make build | |
- name: Install ginkgo | |
run: | | |
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo | |
- name: Testing | |
run: | | |
go mod download | |
ginkgo -r ./e2e |