feat: authenticate /v1, add resolve/client-id, and a deployable chart #1
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: golangci-lint | |
| on: | |
| pull_request: | |
| branches: [ '**' ] | |
| env: | |
| GOPRIVATE: github.com/DIMO-Network | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| jobs: | |
| golangci: | |
| name: lint | |
| runs-on: [self-hosted, linux] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.26' | |
| cache: false | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v7 | |
| with: | |
| version: latest | |
| only-new-issues: false | |
| install-mode: "binary" | |
| args: --modules-download-mode=readonly --timeout=10m | |
| test: | |
| name: test | |
| runs-on: [self-hosted, linux] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.26' | |
| cache: false | |
| # DB-backed tests skip cleanly when Postgres is unreachable, so this | |
| # covers the pure logic here and the schema-backed assertions locally. | |
| - name: go test | |
| run: go test -timeout 3m ./... |