Skip to content

Test pr3

Test pr3 #43

Workflow file for this run

# The "display name", shown in the GitHub UI
name: Build and test
# Trigger, run on push on any branch
on:
workflow_dispatch:
inputs:
config-value:
required: true
type: string
pull_request:
jobs:
lint:
name: "Lint application"
runs-on: 'ubuntu-latest'
steps:
- name: Verify formatting
run: |
no_unformatted_files="$(gofmt -l $(git ls-files '*.go') | wc -l)"
exit "$no_unformatted_files"
test:
uses: ./.github/workflows/reusable-test.yml
with:
config-value: 'Some value'

Check failure on line 25 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Build and test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 25, Col: 21): Invalid input, config-value is not defined in the referenced workflow.
compositeTest:
name: "Run composite action"
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- id: foo
uses: ./actions/test-composite@
with:
who-to-greet: 'Mona the Octocat'