Skip to content

Commit

Permalink
test gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Pennebaker committed Jan 3, 2024
1 parent 728a0e7 commit 4f1065c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: "Audit"
on: # yamllint disable-line rule:truthy
push:
pull_request:
schedule:
- cron: "0 0 * * 1"
jobs:
Audit:
runs-on: "ubuntu-latest"
env:
GOPATH: "/home/runner/go"
steps:
- run: "echo \"/usr/local/go/bin\" >> $GITHUB_PATH"
- run: "echo \"${GOPATH}/bin\" >> $GITHUB_PATH"
- uses: "actions/checkout@v4"
- run: "sudo apt-get install -y cargo make"
- run: "make"
- run: "tinyrick audit"
env:
SNYK_TOKEN: "${{ secrets.SNYK_TOKEN }}"
17 changes: 17 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: "Lint"
on: # yamllint disable-line rule:truthy
push:
pull_request:
jobs:
Lint:
runs-on: "ubuntu-latest"
env:
GOPATH: "/home/runner/go"
steps:
- run: "echo \"/usr/local/go/bin\" >> $GITHUB_PATH"
- run: "echo \"${GOPATH}/bin\" >> $GITHUB_PATH"
- uses: "actions/checkout@v4"
- run: "sudo apt-get install -y cargo make"
- run: "make"
- run: "tinyrick lint"

0 comments on commit 4f1065c

Please sign in to comment.