Skip to content
17 changes: 17 additions & 0 deletions .github/workflows/golang_lint_and_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# https://github.com/golangci/golangci-lint
name: golang_lint_and_test
on: [push, pull_request]
jobs:
golang_lint_and_test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- run: go version
- uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.37
- run: go test $(go list ./... | grep -v /sbom | grep -v /rsa)
40 changes: 0 additions & 40 deletions .github/workflows/golangci-lint.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/golangtests.yml

This file was deleted.