[FEATURE] Table: Add fitler to the table #130
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
| name: cue | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| merge_group: | |
| release: | |
| types: | |
| - published | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' || github.ref_name != 'main' }} | |
| jobs: | |
| validate-schemas: | |
| name: validate CUE schemas | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v6 | |
| - uses: perses/[email protected] | |
| - uses: ./.github/perses-ci/actions/setup_environment | |
| with: | |
| enable_go: true | |
| enable_cue: true | |
| cue_version: "v0.15.1" | |
| - name: check that CUE schemas evaluate correctly | |
| run: make cue-eval | |
| - name: run the unit tests for CUE schemas | |
| run: make cue-test | |
| publish-module: | |
| name: "publish CUE module to Central Registry" | |
| needs: "validate-schemas" | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event.release.tag_name }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - uses: perses/[email protected] | |
| - uses: ./.github/perses-ci/actions/setup_environment | |
| with: | |
| enable_go: true | |
| enable_cue: true | |
| cue_version: "v0.15.1" | |
| - name: Login to Central Registry # to allow publishing the module | |
| run: cue login --token=${{ secrets.CUE_REG_TOKEN }} | |
| - name: Publish the module | |
| run: cue mod publish ${{ github.ref_name }} | |
| working-directory: cue |