Skip to content

senzing-factory/github-action-install-senzing-api#80 update SDK insta… #194

senzing-factory/github-action-install-senzing-api#80 update SDK insta…

senzing-factory/github-action-install-senzing-api#80 update SDK insta… #194

Workflow file for this run

name: Golangci lint
on:
push:
branches-ignore: [main]
pull_request:
branches: [main]
permissions:
# Required: allow read access to the content for analysis.
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Senzing SDK
uses: senzing-factory/github-action-install-senzing-sdk@v1
with:
senzingsdk-version: staging-v4
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Perform linting
uses: golangci/golangci-lint-action@v6
with:
args: --config=${{ github.workspace }}/.github/linters/.golangci.yaml
only-new-issues: false
version: latest