Skip to content

CI Go 2476e4fbdbc807febb302dc5f33c66ae61038f9c by @renovate[bot] #205

CI Go 2476e4fbdbc807febb302dc5f33c66ae61038f9c by @renovate[bot]

CI Go 2476e4fbdbc807febb302dc5f33c66ae61038f9c by @renovate[bot] #205

Workflow file for this run

name: CI Go
on:
pull_request:
run-name: CI Go ${{ github.sha }} by @${{ github.actor }}
jobs:
lint-build-tidy-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: build
run: make build
- name: tidy
run: |
go mod tidy
git diff --exit-code
- name: Extract golangci-lint version
id: extract_version
run: |
version=$(sh scripts/get_golangci_lint_version.sh)
echo "::set-output name=golangci_lint_version::$version"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: ${{ steps.extract_version.outputs.golangci_lint_version }}
args: ./cmd/... ./pkg/... ./tests/...
- name: test
run: make unit