Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Avoid compilation GH actions on script push #307

Avoid compilation GH actions on script push

Avoid compilation GH actions on script push #307

Workflow file for this run

---
name: "Default compilation, tests and deploy"
"on":
push:
branches: [main]
paths-ignore:
- '**.md'
- '**.sh'
- '.wordlist.txt'
pull_request:
paths-ignore:
- '**.md'
- '**.sh'
- '.wordlist.txt'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.2'
- name: Build
run: make build
- name: Test
run: make test
- name: Minikube Installation
id: minikube
uses: medyagh/setup-minikube@master
with:

Check failure on line 38 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yaml

Invalid workflow file

You have an error in your yaml syntax on line 38
cache: false
# container-runtime: containerd
# kubernetes-version: v1.22.3
cpus: 4
memory: 4000m
# cni: bridge
# addons: registry,ingress
# extra-config: 'kubelet.max-pods=10'
# feature-gates: 'DownwardAPIHugePages=true'
# mount-path: '/Users/user1/test-files:/testdata'
# wait: false
# insecure-registry: 'localhost:5000,10.0.0.0/24'
# start-args: '--delete-on-failure --subnet 192.168.50.0'
- name: Status
run: minikube status
- name: Cluster Test
run: CLUSTER_TANG_OPERATOR_TEST=1 make test
- name: Deploy and Scorecard
run: |
sh .github/workflows/scripts/retrieve_and_run_operator_sdk.bash \
"v1.33.0" "5m" "quay.io/sec-eng-special/tang-operator-bundle" \
"${GITHUB_HEAD_REF}"