-
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.
- Loading branch information
1 parent
ddba895
commit 34ef9d2
Showing
11 changed files
with
864 additions
and
108 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,24 @@ | ||
name: Build and Setup | ||
|
||
description: Build and Setup | ||
|
||
inputs: | ||
go_version: | ||
description: 'Version of Go to use for this build' | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup Repo | ||
uses: ./.github/actions/ci/setup | ||
with: | ||
go_version: ${{ inputs.go_version }} | ||
|
||
- name: Build Code | ||
shell: bash | ||
run: go build -v ./... | ||
|
||
- name: Run Tests | ||
shell: bash | ||
run: go test -v ./... |
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,19 @@ | ||
name: Check Leaks | ||
|
||
description: Check Leaks | ||
|
||
inputs: | ||
gitleaks_license: | ||
description: "A gitleaks-action license" | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Check Leaks | ||
uses: gitleaks/gitleaks-action@v2 | ||
env: | ||
GITLEAKS_LICENSE: ${{ inputs.gitleaks_license }} | ||
GITLEAKS_CONFIG: .github/actions/ci/leaks/gitleaks.toml | ||
GITLEAKS_ENABLE_SUMMARY: "false" | ||
GITLEAKS_ENABLE_UPLOAD_ARTIFACT: "false" |
Oops, something went wrong.