-
Notifications
You must be signed in to change notification settings - Fork 35
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
Andrew Pennebaker
committed
Jan 3, 2024
1 parent
edf7240
commit 4326b93
Showing
2 changed files
with
43 additions
and
0 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,25 @@ | ||
--- | ||
name: "Audit" | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: "0 0 * * 1" | ||
jobs: | ||
Audit: | ||
runs-on: "ubuntu-latest" | ||
env: | ||
GOHOME: "/home/runner/go" | ||
steps: | ||
- run: "echo \"${PATH}:${GOHOME}/bin\" >> $GITHUB_PATH" | ||
- uses: "actions/checkout@v4" | ||
- run: "sudo apt-get install -y cargo golang-1.21 make npm" | ||
- run: "make -f install.mk" | ||
# | ||
# Debian-based Ubuntu GitHub Actions base OS is | ||
# expected to present unresolvable CVE's. | ||
# Disabling (GitHub Actions Hosted) `safety` runner step for now. | ||
# Care when merging pull requests. | ||
# In any case, all CI/CD jobs can be peformed locally. | ||
# | ||
- run: "make snyk" |
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,18 @@ | ||
--- | ||
name: "Lint" | ||
on: # yamllint disable-line rule:truthy | ||
push: | ||
pull_request: | ||
jobs: | ||
Lint: | ||
runs-on: "ubuntu-latest" | ||
env: | ||
GOHOME: "/home/runner/go" | ||
steps: | ||
- run: "echo \"${PATH}:${GOHOME}/bin\" >> $GITHUB_PATH" | ||
- uses: "actions/checkout@v4" | ||
- run: "sudo apt-add-repository ppa:longsleep/golang-backports" | ||
- run: "sudo apt-get update" | ||
- run: "sudo apt-get install -y cargo golang-1.21 make npm" | ||
- run: "make -f install.mk" | ||
- run: "make lint" |