Files
go-receipt-tracker/.github/workflows/gha-testing.yml
Alex Savin 60e1a2c7f4
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 4s
Testing / test (1.24.x, ubuntu-latest) (push) Successful in 1m3s
Update .github/workflows/gha-testing.yml
2025-04-28 19:53:28 -04:00

45 lines
1.4 KiB
YAML

name: GHA Testing
on:
workflow_dispatch:
branches:
- develop
paths-ignore:
- 'README.md'
jobs:
gha-testing:
steps:
- name: Print environment variables
run: |
echo "The owner and repository name. $GITHUB_REPOSITORY"
echo "The commit SHA that triggered the workflow. $GITHUB_SHA"
echo "The branch or tag ref that triggered the workflow. $GITHUB_REF"
echo "The name of the workflow. $GITHUB_WORKFLOW"
echo "The name of the person or app that initiated the workflow. $GITHUB_ACTOR"
echo "The GitHub workspace directory path. $GITHUB_WORKSPACE"
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
- name: Dump runner context
env:
RUNNER_CONTEXT: ${{ toJson(runner) }}
run: echo "$RUNNER_CONTEXT"
- name: Dump strategy context
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: echo "$STRATEGY_CONTEXT"
- name: Dump matrix context
env:
MATRIX_CONTEXT: ${{ toJson(matrix) }}
run: echo "$MATRIX_CONTEXT"