Skip to content

chore(deps): bump the github-actions group with 2 updates (#130) #173

chore(deps): bump the github-actions group with 2 updates (#130)

chore(deps): bump the github-actions group with 2 updates (#130) #173

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: v2.5
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: ${{ env.GO_VERSION }}
- name: golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}