Skip to content

Bump actions/checkout from 3.6.0 to 4.0.0 #150

Bump actions/checkout from 3.6.0 to 4.0.0

Bump actions/checkout from 3.6.0 to 4.0.0 #150

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
- releases/*
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Create kind cluster
uses: ./
- name: Test
run: |
kubectl cluster-info
kubectl get storageclass standard
test-with-custom-verbosity:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Create kind cluster with custom verbosity
uses: ./
with:
verbosity: 10
- name: Test
run: |
kubectl cluster-info
kubectl get storageclass standard
test-with-custom-name:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Create kind cluster with custom name
uses: ./
with:
cluster_name: "custom-name"
- name: Test
run: |
kubectl cluster-info
kubectl get storageclass standard
test-with-install-only:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Only install kind without starting a cluster
uses: ./
with:
install_only: true
- name: Test kind works and there is no cluster started
run: |
[[ $(kind get clusters | wc -l) -eq 0 ]]
test-with-custom-kubectl-version:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Create kind cluster with custom name
uses: ./
with:
kubectl_version: "v1.27.1"
- name: Test
run: |
kubectl cluster-info
kubectl get nodes
test-with-custom-node-image:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Create kind cluster with custom name
uses: ./
with:
node_image: "kindest/node:v1.24.12"
- name: Test
run: |
kubectl cluster-info
kubectl get nodes
test-with-ignore-failed-clean:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Create kind cluster with custom name
uses: ./
with:
kubectl_version: "v1.24.6"
ignore_failed_clean: true
- name: Test
run: |
kubectl cluster-info
kubectl get nodes