mirror of
https://github.com/lunchcat/sif.git
synced 2026-07-30 23:40:13 -07:00
- add golangci-lint job to go.yml (parallel with build+test) - add Go 1.23/1.24 version matrix, coverage only on 1.24 - upgrade setup-go@v4 to v5, codecov@v4 to v5 across all workflows - fix check-large-files bug (find|while never exits 1), exclude .git/ - add concurrency groups to push+PR workflows (no duplicate runs) - lowercase all workflow names to match project voice - add gosec, errorlint, gocognit, nilnil, wastedassign, usetesting linters - remove deprecated exportloopref (Go 1.22 fixed loop var capture) - new: govulncheck.yml - Go vuln scanner with call-graph analysis - new: scorecard.yml - OpenSSF supply chain scorecard - new: dependabot.yml - auto-update Go deps + Actions versions - release: SHA256 checksums + SBOM generation for all artifacts - add CODEOWNERS
27 lines
693 B
YAML
27 lines
693 B
YAML
name: dependency review
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
dependency-review:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout repository
|
|
uses: actions/checkout@v4
|
|
- name: dependency review
|
|
uses: actions/dependency-review-action@v4
|
|
continue-on-error: ${{ github.event_name == 'push' }}
|
|
- name: check dependency review outcome
|
|
if: github.event_name == 'push' && failure()
|
|
run: |
|
|
echo "::warning::Dependency review failed. Please check the dependencies for potential issues."
|