Skip to content

only use VCS info if build is of the go-toolkit #505

only use VCS info if build is of the go-toolkit

only use VCS info if build is of the go-toolkit #505

Workflow file for this run

name: Build and Test
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ '**' ]
permissions:
contents: read
jobs:
build:
runs-on: [self-hosted, arm64]
steps:
- name: Harden Runner
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version: '>=1.23.0'
cache: false
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...