-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from circonus-labs/sbom_generation
v0.7.23
- Loading branch information
Showing
4 changed files
with
128 additions
and
51 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,14 +11,9 @@ jobs: | |
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
stable: true | ||
go-version: 1.17.x | ||
- uses: actions/checkout@v3 | ||
- name: golangci-lint | ||
uses: golangci/[email protected] | ||
with: | ||
version: v1.48 | ||
skip-go-installation: true | ||
version: latest | ||
args: --timeout=5m |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
# MacOS | ||
.DS_Store | ||
env.sh | ||
NOTES.md | ||
|
||
.vscode/ | ||
# Vagrant | ||
.vagrant*/ | ||
|
||
vendor/ | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.dll | ||
*.so | ||
*.dylib | ||
|
||
examples/go.* | ||
# Test binary, build with `go test -c` | ||
*.test | ||
|
||
# Output of the go coverage tool | ||
*.out | ||
|
||
# vendored packages | ||
vendor*/ | ||
|
||
# goreleaser | ||
dist/ | ||
|
||
.envrc |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json | ||
# vim: set ts=2 sw=2 tw=0 fo=cnqoj | ||
|
||
version: 1 | ||
|
||
project_name: go-apiclient | ||
|
||
before: | ||
hooks: | ||
- go mod tidy | ||
- golangci-lint run | ||
- cmd: golangci-lint run | ||
env: | ||
- GOOS=linux | ||
- govulncheck ./... | ||
|
||
builds: | ||
- skip: true | ||
|
||
release: | ||
github: | ||
owner: circonus-labs | ||
name: go-apiclient | ||
|
||
draft: false | ||
prerelease: auto | ||
|
||
changelog: | ||
use: git | ||
sort: desc | ||
abbrev: 0 | ||
groups: | ||
- title: Features | ||
regexp: "^.*feat[(\\w)]*:+.*$" | ||
order: 0 | ||
- title: 'Bug fixes' | ||
regexp: "^.*fix[(\\w)]*:+.*$" | ||
order: 1 | ||
- title: 'Dependencies' | ||
regexp: "^.*build(deps):+.*$" | ||
order: 2 | ||
- title: Others | ||
order: 999 | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- typo | ||
|
||
checksum: | ||
name_template: "{{.ProjectName}}_checksums.txt" | ||
|
||
sboms: | ||
- artifacts: any | ||
args: ["../go.mod", "--output", "[email protected]={{.ProjectName}}_{{.Version}}.sbom"] | ||
env: | ||
- SYFT_GOLANG_SEARCH_LOCAL_MOD_CACHE_LICENSES=true | ||
- SYFT_GOLANG_SEARCH_REMOTE_LICENSES=true | ||
|
This file contains 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