Skip to content

Update actions/setup-go action to v6 #132

Update actions/setup-go action to v6

Update actions/setup-go action to v6 #132

Workflow file for this run

---
name: QA
on: # yamllint disable-line rule:truthy
pull_request:
types: [opened, synchronize]
paths:
- ".github/workflows/qa.yml"
- "go.*"
- "**.go"
push:
branches: [main]
permissions:
contents: read
pull-requests: read
checks: write
jobs:
lint:
name: Run linters
runs-on: ubuntu-latest
env:
# renovate: datasource=github-releases depName=radiofrance/lint-config
LINT_CONFIG_VERSION: v1.1.1
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: "go.mod"
- name: Download golangci-lint config file
run: curl -o .golangci.yml https://raw.githubusercontent.com/radiofrance/lint-config/${{ env.LINT_CONFIG_VERSION }}/.golangci.yml
- uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
# renovate: datasource=github-releases depName=golangci/golangci-lint
version: v2.1.6