feat(cli): securely store UCAN token in OS-level keyring with config … #27
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.26.x" | |
| - name: Module verify | |
| run: go mod verify | |
| - name: Vet | |
| run: go vet ./... | |
| - name: golangci-lint | |
| continue-on-error: true | |
| uses: golangci/golangci-lint-action@v7 | |
| with: | |
| version: v2.2.0 | |
| install-mode: goinstall | |
| - name: Test with coverage | |
| run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./... | |
| - name: Upload coverage | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage | |
| path: coverage.out | |
| - name: Build | |
| run: make build |