forked from paketo-buildpacks/packit
-
Notifications
You must be signed in to change notification settings - Fork 0
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 #1 from paketo-buildpacks/main
- Loading branch information
Showing
90 changed files
with
2,054 additions
and
1,858 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
schedule: | ||
- cron: '0 0 * * *' # Once a day at midnight | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: | ||
- 'go' | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v1 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v1 | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v1 |
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
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
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
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,16 @@ | ||
package packit | ||
|
||
// BOMEntry contains a bill of materials entry. | ||
type BOMEntry struct { | ||
// Name represents the name of the entry. | ||
Name string `toml:"name"` | ||
|
||
// Metadata is the metadata of the entry. Optional. | ||
Metadata map[string]interface{} `toml:"metadata,omitempty"` | ||
} | ||
|
||
// UnmetEntry contains the name of an unmet dependency from the build process | ||
type UnmetEntry struct { | ||
// Name represents the name of the entry. | ||
Name string `toml:"name"` | ||
} |
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
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,14 @@ | ||
package packit | ||
|
||
// BuildMetadata represents the build metadata details persisted in the | ||
// build.toml file according to the buildpack lifecycle specification: | ||
// https://github.com/buildpacks/spec/blob/main/buildpack.md#buildtoml-toml. | ||
type BuildMetadata struct { | ||
// BOM is the Bill-of-Material entries containing information about the | ||
// dependencies provided to the build environment. | ||
BOM []BOMEntry `toml:"bom"` | ||
|
||
// Unmet is a list of unmet entries from the build process that it was unable | ||
// to provide. | ||
Unmet []UnmetEntry `toml:"unmet"` | ||
} |
Oops, something went wrong.