chore(.github): upgrade and align actions across workflows with their tagged versions #14803
This file contains hidden or 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: APM Parametric Tests | |
on: | |
workflow_call: # allows to reuse this workflow | |
inputs: | |
branch_ref: | |
description: 'The branch to run the workflow on' | |
required: true | |
type: string | |
push: | |
branches: | |
- main | |
- release-v* | |
tags-ignore: | |
- 'contrib/**' | |
- 'instrumentation/**' | |
pull_request: | |
branches: | |
- "**" | |
merge_group: | |
workflow_dispatch: | |
inputs: | |
ref: | |
description: 'System Tests ref/tag/branch' | |
required: true | |
default: main | |
type: string | |
schedule: | |
- cron: '00 04 * * 2-6' | |
permissions: | |
contents: read | |
jobs: | |
parametric-tests: | |
if: github.event_name != 'pull_request' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'DataDog/dd-trace-go') | |
runs-on: | |
group: "APM Larger Runners" | |
env: | |
TEST_LIBRARY: golang | |
steps: | |
- name: Checkout system tests | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
repository: 'DataDog/system-tests' | |
ref: ${{ inputs.ref }} | |
- name: Checkout dd-trace-go | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
ref: ${{ inputs.branch_ref || github.ref }} | |
path: 'binaries/dd-trace-go' | |
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
with: | |
go-version: "oldstable" | |
- name: Build runner | |
uses: ./.github/actions/install_runner | |
- name: Run | |
run: ./run.sh PARAMETRIC |