github action: change semver detection for Service Extension (#3117) #1489
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: Main Branch and Release Tests | |
on: | |
workflow_call: # allows to reuse this workflow | |
inputs: | |
ref: | |
description: 'The branch to run the workflow on' | |
required: true | |
type: string | |
push: | |
branches: | |
- main | |
- release-v* | |
tags-ignore: | |
- 'contrib/**' | |
- 'instrumentation/**' | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
unit-integration-tests: | |
strategy: | |
matrix: | |
go-version: [ "1.22", "1.23" ] | |
fail-fast: false | |
uses: ./.github/workflows/unit-integration-tests.yml | |
with: | |
go-version: ${{ matrix.go-version }} | |
ref: ${{ inputs.ref || github.ref }} | |
secrets: inherit | |
multios-unit-tests: | |
strategy: | |
matrix: | |
runs-on: [ macos-latest, windows-latest, ubuntu-latest ] | |
go-version: [ "1.22", "1.23" ] | |
fail-fast: false | |
uses: ./.github/workflows/multios-unit-tests.yml | |
with: | |
go-version: ${{ matrix.go-version }} | |
runs-on: ${{ matrix.runs-on }} | |
ref: ${{ inputs.ref || github.ref }} | |
secrets: inherit |