enable noctx linter and fix errors #84
Workflow file for this run
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: PR check - CLI Installation test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
cli-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-tags: true | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: ./go.mod | |
- name: Install kind | |
uses: helm/[email protected] | |
with: | |
install_only: true | |
- name: Run build | |
run: make build | |
- name: Build docker images | |
run: make docker-build | |
- name: Run installation test using CLI | |
run: ./tests/cli/basic_test.sh | |
- name: upload e2e k8s test logs | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: tests-cli | |
path: /tmp/clusterlink-cli |