Skip to content

chore(deps): update actions/setup-go action to v5.1.0 #6187

chore(deps): update actions/setup-go action to v5.1.0

chore(deps): update actions/setup-go action to v5.1.0 #6187

Workflow file for this run

name: Go
# Any change in triggers needs to be reflected in the concurrency group.
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.after }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Set up Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
# renovate: datasource=golang-version depName=go
go-version: 1.23.2
- name: Run static checks
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
# renovate: datasource=docker depName=golangci/golangci-lint
version: v1.61.0
args: --config=.golangci.yml --verbose
skip-cache: true
- name: Check module vendoring
run: |
go mod tidy
go mod vendor
go mod verify
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1)
- name: Build
run: make
- name: Test
run: make test