Skip to content

feat(core): driver factory signature and global config enhancements #7

feat(core): driver factory signature and global config enhancements

feat(core): driver factory signature and global config enhancements #7

Workflow file for this run

name: 'CI'
on:
pull_request:
branches:
- main
paths-ignore:
- '**/*.yaml'
- '**/*.md'
- LICENSE
- CODEOWNERS
- '.gitignore'
jobs:
govulncheck:
runs-on: ubuntu-latest
name: Run govulncheck
steps:
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-file: go.mod
go-package: ./...
golangci:
name: lint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: 'go.mod'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.60.3
# Optional: golangci-lint command line arguments.
args: --timeout=10m --out-format=colored-line-number
unit:
name: unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: 'go.mod'
cache: false
- name: Unit Tests with the Go CLI
run: go test ./... -short -race -cover