Learning Github workflow and actions, what is the best and fastest or best way to test the yaml.
I find myself testing by editing a workflow in the browser, and then commit, then in another tab click my way into the action and down to the job.
I understand that you need the containers in the workflow, but I was thinking if there is an easier way to test the "yaml language". Like in the following I was learning how to "echo" an environment variable.
Is this the way or is there a smarter way maybe using VSCode with some docker container for debugging and learning to call functions etc?
name: TestWF
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Test scenario tags'
jobs:
hello:
runs-on: ubuntu-latest
steps:
- name: Hello, World in GitHub Actions
run: echo $GITHUB_REF