Skip to content

Commit

Permalink
chore: refactor GitHub Actions workflow and add kubectl version check
Browse files Browse the repository at this point in the history
- Rename `.github/workflows/lint.yml` to `.github/workflows/testing.yml`
- Add a new step to check the kubectl version

Signed-off-by: appleboy <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Jan 28, 2024
1 parent 0c9f588 commit f449b1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml → .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
- name: Create k8s Kind Cluster
uses: helm/kind-action@v1.8.0

- name: check kubectl version
run: |
kubectl version -o yaml --client
- name: install package
run: |
apk add make
Expand Down

0 comments on commit f449b1e

Please sign in to comment.