chore(ci): retrofit upstream TypeScript action CI and linters #56
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: Sanity test configure-kubectl-oke action | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
test-action-home-region: | |
runs-on: ubuntu-latest | |
name: Sanity test the action in the tenancy home region | |
env: | |
OCI_CLI_USER: ${{ secrets.OCI_CLI_USER }} | |
OCI_CLI_TENANCY: ${{ secrets.OCI_CLI_TENANCY }} | |
OCI_CLI_FINGERPRINT: ${{ secrets.OCI_CLI_FINGERPRINT }} | |
OCI_CLI_KEY_CONTENT: ${{ secrets.OCI_CLI_KEY_CONTENT }} | |
OCI_CLI_REGION: ${{ secrets.OCI_CLI_REGION }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure Kubectl for OKE cluster in home region | |
uses: ./ | |
id: test-configure-kubectl-oke-action | |
with: | |
cluster: ${{ secrets.OKE_CLUSTER_ID }} | |
- name: Check that the correct kubectl version is active | |
run: | | |
which kubectl | |
kubectl version --short | |
- name: Get pods using Kubectl | |
run: kubectl get pods -A |