Skip to content

chore(cicd): bump actions/checkout from 6.0.3 to 7.0.0 #2

chore(cicd): bump actions/checkout from 6.0.3 to 7.0.0

chore(cicd): bump actions/checkout from 6.0.3 to 7.0.0 #2

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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0
- 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@4a3601121dd01d1626a1e23e37211e3254c1c06c
with:
go-version: ${{ steps.vars.outputs.go_version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee
with:
version: v2.12.2
args: --config=.github/golangci.yml