Skip to content

chore: Refactor of RootCmd to make it easier to test (DI ftw) #30

chore: Refactor of RootCmd to make it easier to test (DI ftw)

chore: Refactor of RootCmd to make it easier to test (DI ftw) #30

Workflow file for this run

name: Go Lint
on:
pull_request: {}
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
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
# Optional: Allow write access to checks to allow the action to annotate code in the PR.
checks: write
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest