platform: detect: add functions which take clients #805
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Go | |
on: | |
pull_request: | |
branches: | |
- "main" | |
- "release-*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: set up golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.23 | |
- name: format | |
run: ./hack/check-format.sh | |
- name: fix the version | |
run: make update-version | |
- name: go vetting | |
run: make vet | |
- name: build | |
run: | | |
go version | |
make all | |
- name: test | |
run: make test-unit |