Skip to content

fix: update rig to v0.21.2 to prioritize keyPath over ssh-agent (#618) #25

fix: update rig to v0.21.2 to prioritize keyPath over ssh-agent (#618)

fix: update rig to v0.21.2 to prioritize keyPath over ssh-agent (#618) #25

Workflow file for this run

# PR validation workflow for Launchpad

Check failure on line 1 in .github/workflows/pr.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr.yml

Invalid workflow file

(Line: 20, Col: 5): you may only define one of `paths` and `paths-ignore` for a single event
# 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 ./...