Skip to content

Commit

Permalink
test github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Pennebaker committed Jan 3, 2024
1 parent edf7240 commit 4326b93
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/audit.yml
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"
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
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"

0 comments on commit 4326b93

Please sign in to comment.