[release-1.8] fix: Allow disabling of common data import crons #7237
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
# This is a basic workflow to help you get started with Actions | |
name: Sanity Checks | |
# Controls when the action will run. | |
on: | |
push: | |
branches: [ release-1.8 ] | |
pull_request: | |
branches: [ release-1.8 ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
name: Sanity Checks | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.19' # The Go version to download (if necessary) and use. | |
- name: Do sanity checks | |
run: make sanity | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.51.2 | |
skip-pkg-cache: true | |
args: --timeout=5m --out-${NO_FUTURE}format line-number | |
- name: Verify we can actually build the operator | |
run: make build | |
- name: Unit tests | |
run: make test | |
- name: Prometheus alerts tests | |
run: make prom-rules-verify | |
- uses: shogo82148/actions-goveralls@v1 | |
with: | |
path-to-profile: coverprofiles/cover.coverprofile | |
- name: Verify the current manifests pass validation | |
run: make container-build-validate-bundles |