Skip to content

Commit

Permalink
Move govulncheck into lint.yml (#1615)
Browse files Browse the repository at this point in the history
  • Loading branch information
directionless authored Feb 22, 2024
1 parent 331f07c commit 0c881ac
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 39 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/govulncheck.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: golangci-lint
name: lint

on:
push:
Expand Down Expand Up @@ -37,6 +37,22 @@ jobs:
- name: golangci-lint
if: ${{ always() }}
run: golangci-lint run
govulncheck:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
name: govulncheck
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-file: './go.mod'
check-latest: true
go-package: ./...

# This job is here as a github status check -- it allows us to move
# the merge dependency from being on all the jobs to this single
Expand All @@ -47,3 +63,4 @@ jobs:
- run: true
needs:
- golangci
- govulncheck

0 comments on commit 0c881ac

Please sign in to comment.