This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
Only delete files if they exist #226
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: "Default compilation, tests and deploy" | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '**.md' | |
- '.wordlist.txt' | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- '.wordlist.txt' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version: '1.21.3' | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test | |
- name: Minikube Installation | |
id: minikube | |
uses: medyagh/setup-minikube@latest | |
- 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.sh \ | |
"v1.32.0" "5m" "quay.io/sec-eng-special/tang-operator-bundle" \ | |
"${GITHUB_HEAD_REF}" |