Also push CRD chart to public repo so that we can easily use this #6
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: PR Workflow | |
on: | |
pull_request: | |
types: [ synchronize, opened, reopened] | |
branches: [ 'main' ] | |
jobs: | |
linter: | |
name: Linter | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 # Sets a timeout of 10 minutes for this job (default is 1 minute) | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.22' | |
cache: false | |
- name: Helm lint (CRDs) | |
run: | | |
helm lint charts/qdrant-operator-crds | |
- name: Check Go Formatting | |
run: | | |
files=$(gofmt -l .) && echo $files && [ -z "$files" ] | |
- name: Golang CI Lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.59.1 # Specify the golangci-lint version, so we are stable | |
args: --timeout 10m # Increase the timeout to 10 minutes |