Adjust postgrescluster example to use v1 API and pg18 #1963
Workflow file for this run
This file contains hidden or 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
| # https://codeql.github.com | |
| name: CodeQL | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| schedule: | |
| - cron: '10 18 * * 2' | |
| jobs: | |
| analyze: | |
| if: ${{ github.repository == 'CrunchyData/postgres-operator' }} | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: { go-version: stable } | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: { languages: go } | |
| - name: Autobuild | |
| # This action calls `make` which runs our "help" target. | |
| uses: github/codeql-action/autobuild@v4 | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 |