Skip to content

deps: bump github.com/lxc/incus/v6 from 6.21.0 to 6.23.0 #100

deps: bump github.com/lxc/incus/v6 from 6.21.0 to 6.23.0

deps: bump github.com/lxc/incus/v6 from 6.21.0 to 6.23.0 #100

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Run weekly to catch new CVEs in existing deps
- cron: '0 9 * * 1'
permissions:
contents: read
security-events: write
jobs:
build:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
cache: true
- name: Verify dependencies
run: go mod verify
- name: Build
run: go build -v ./...
- name: Test
run: go test -race -coverprofile=coverage.out ./...
- name: Upload coverage
uses: codecov/codecov-action@v5
if: ${{ !env.ACT }}
with:
files: ./coverage.out
fail_ci_if_error: false
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: latest
only-new-issues: true
security:
name: Security Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.24'
cache: true
# govulncheck - precise, call-graph aware Go vulnerability scanner
# Uses wrapper script with .govulncheckignore for suppression
- name: Run govulncheck
run: ./scripts/govulncheck.sh
# trivy - broad scanner for deps, containers, IaC, secrets
# Skipped in act - requires real GitHub token for setup
- name: Run Trivy vulnerability scanner
if: ${{ !env.ACT }}
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
severity: 'HIGH,CRITICAL'
exit-code: '1'
format: 'sarif'
output: 'trivy-results.sarif'
trivyignores: '.trivyignore'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v4
if: ${{ !env.ACT && always() && hashFiles('trivy-results.sarif') != '' }}
with:
sarif_file: 'trivy-results.sarif'