Skip to content

chore(deps): bump github/codeql-action from 3.25.12 to 3.25.13 in the… #87

chore(deps): bump github/codeql-action from 3.25.12 to 3.25.13 in the…

chore(deps): bump github/codeql-action from 3.25.12 to 3.25.13 in the… #87

Workflow file for this run

name: Linting
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
golangci-lint:
name: Linting
strategy:
matrix:
go-version: [ stable, oldstable ]
os: [ubuntu-latest, macos-latest, windows-latest]
env:
GO_VERSION: stable
GOLANGCI_LINT_VERSION: v1.59
CGO_ENABLED: 0
runs-on: ${{ matrix.os }}
steps:
- if: ${{ matrix.os == 'windows-latest' }} # https://github.com/actions/checkout/issues/135
run: |
git config --global core.eol lf
git config --global core.autocrlf input
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}