Skip to content

go test

go test #2344

Workflow file for this run

on:
push:
branches:
- release-2.0
merge_group:
pull_request:
name: go test
permissions:
contents: read
jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- '1'
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2
with:
persist-credentials: false
- name: Calculate go version
id: vars
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # tag=v6.4.0
with:
go-version: ${{ steps.vars.outputs.go_version }}
- run: |
make test