Skip to content

chore(cicd): bump the github-actions-minor-patch group across 1 directory with 4 updates #4

chore(cicd): bump the github-actions-minor-patch group across 1 directory with 4 updates

chore(cicd): bump the github-actions-minor-patch group across 1 directory with 4 updates #4

Workflow file for this run

name: lint
on:
pull_request:
branches: [main, master]
permissions:
contents: read
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10
- name: Get Go version
id: vars
run: |
goVersion=$(grep '^FROM go' .github/go/Dockerfile | cut -d ' ' -f 2 | cut -d ':' -f 2)
echo "go_version=${goVersion}" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16
with:
go-version: ${{ steps.vars.outputs.go_version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a
with:
version: v2.12.2
args: --config=.github/golangci.yml