forked from cerc-io/laconicd-deprecated
Work around bug https://github.com/golangci/golangci-lint/issues/3906 and https://github.com/cachix/install-nix-action/issues/161 and address other lint/CI issues. Reviewed-on: cerc-io/laconicd#114 Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com> Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
30 lines
720 B
YAML
30 lines
720 B
YAML
name: "Dependency Review"
|
|
on: pull_request
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
dependency-review:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.19
|
|
check-latest: true
|
|
- name: "Checkout Repository"
|
|
uses: actions/checkout@v3
|
|
- uses: technote-space/get-diff-action@v6.1.2
|
|
with:
|
|
PATTERNS: |
|
|
**/**.go
|
|
go.mod
|
|
go.sum
|
|
- name: "Dependency Review"
|
|
uses: actions/dependency-review-action@v3
|
|
if: env.GIT_DIFF
|
|
# TODO: https://git.vdb.to/cerc-io/laconicd/issues/115
|
|
# - name: "Go vulnerability check"
|
|
# run: make vulncheck
|
|
# if: env.GIT_DIFF
|