Repository navigation
fix(helm): configure TLS for shared control plane and CAS listeners #9046
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
| name: Lint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| # Optional: allow read access to pull request. Use with `only-new-issues` option. | |
| pull-requests: read | |
| jobs: | |
| golangci: | |
| name: lint | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| app: | |
| - main-module | |
| - cli | |
| - controlplane | |
| - artifact-cas | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Go | |
| uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 | |
| with: | |
| go-version-file: 'go.mod' | |
| - name: Lint main module | |
| uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 | |
| if: ${{ matrix.app == 'main-module' }} | |
| with: | |
| version: v2.14.0 | |
| only-new-issues: 'true' | |
| - name: Lint ${{ matrix.app }} | |
| uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 | |
| if: ${{ matrix.app != 'main-module' }} | |
| with: | |
| working-directory: app/${{ matrix.app }} | |
| version: v2.14.0 | |
| only-new-issues: 'true' | |
| lint-protos: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
| with: | |
| persist-credentials: false | |
| - uses: bufbuild/buf-action@5150a1eef5c10b6a5cf8a69fc872f24a09473195 # v1.1.1 | |
| with: | |
| version: 1.49.0 | |
| token: ${{ secrets.buf_api_token }} | |
| breaking: true | |
| pr_comment: false | |
| lint-dagger-module: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install Dagger CLI | |
| run: | | |
| mkdir -p ~/.local/bin | |
| cd ~/.local | |
| curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.21.10 sh | |
| - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Go | |
| uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0 | |
| with: | |
| go-version-file: 'go.mod' | |
| - name: Initialize module | |
| run: | | |
| make -C extras/dagger module-init | |
| - name: Lint | |
| uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 | |
| with: | |
| working-directory: extras/dagger | |
| version: v2.14.0 | |
| only-new-issues: 'true' |