fix: update rig to v0.21.2 to prioritize keyPath over ssh-agent (#618) #25
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
| # PR validation workflow for Launchpad | ||
| # Triggered on PRs to main branch. | ||
| name: PR Validation | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write # Required for PR comments or labels | ||
| on: | ||
| pull_request: | ||
| branches: [ main ] | ||
| paths: | ||
| - "**.go" | ||
| - "go.mod" | ||
| - "go.sum" | ||
| - "test/**" | ||
| - "examples/**" | ||
| - ".github/workflows/**" | ||
| paths-ignore: | ||
| - "**.md" | ||
| - "docs/**" | ||
| jobs: | ||
| lint: | ||
| name: Lint Code | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| - name: Set up Go | ||
| uses: actions/setup-go@v5 | ||
| with: | ||
| go-version: "1.25" | ||
| - name: Run golangci-lint | ||
| run: make lint | ||
| unit-test: | ||
| name: Unit Tests | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| - name: Set up Go | ||
| uses: actions/setup-go@v5 | ||
| with: | ||
| go-version: "1.25" | ||
| - name: Run unit tests | ||
| run: make unit-test | ||
| integration-test: | ||
| name: Integration Tests | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| - name: Set up Go | ||
| uses: actions/setup-go@v5 | ||
| with: | ||
| go-version: "1.25" | ||
| - name: Run integration tests | ||
| run: make integration-test | ||
| security-scan: | ||
| name: Security Scan | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
| - name: Set up Go | ||
| uses: actions/setup-go@v5 | ||
| with: | ||
| go-version: "1.25" | ||
| - name: Install govulncheck | ||
| run: go install golang.org/x/vuln/cmd/govulncheck@latest | ||
| - name: Run security scan | ||
| run: govulncheck ./... | ||