equivalence-tests-manual #2
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: equivalence-tests-manual | |
on: | |
workflow_dispatch: | |
inputs: | |
target-branch: | |
type: string | |
description: "Which branch should be updated?" | |
required: true | |
new-branch: | |
type: string | |
description: "Name of new branch to be created for the review." | |
required: true | |
equivalence-test-version: | |
type: string | |
description: 'Equivalence testing framework version to use (no v prefix, eg. 0.4.0).' | |
default: "0.4.0" | |
required: true | |
permissions: | |
contents: write | |
pull-requests: write | |
env: | |
GH_TOKEN: ${{ github.token }} | |
jobs: | |
run-equivalence-tests: | |
name: "Run equivalence tests" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
ref: ${{ inputs.target-branch }} | |
- name: Determine Go version | |
id: go | |
uses: ./.github/actions/go-version | |
- name: Install Go toolchain | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version: ${{ steps.go.outputs.version }} | |
cache-dependency-path: go.sum | |
- uses: ./.github/actions/equivalence-test | |
with: | |
target-equivalence-test-version: ${{ inputs.equivalence-test-version }} | |
target-os: linux | |
target-arch: amd64 | |
current-branch: ${{ inputs.target-branch }} | |
new-branch: ${{ inputs.new-branch }} | |
reviewers: ${{ github.actor }} | |
message: "Update equivalence test golden files." |