Skip to content

Merge pull request #8 from alexferl/update #2

Merge pull request #8 from alexferl/update

Merge pull request #8 from alexferl/update #2

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- master
- main
pull_request:
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
jobs:
unit:
name: lint
runs-on: ubuntu-latest
steps:
- name: Fetch Repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.23.x'
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.0.2