Skip to content

Test out failure checking job #160

Test out failure checking job

Test out failure checking job #160

Workflow file for this run

name: ci

Check failure on line 1 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: fail-check
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test1:
name: Test 1
id: test1
runs-on: ubuntu-latest
steps:
- run: true
test2:
name: Test 2
id: test2
runs-on: ubuntu-latest
steps:
- run: true
fail-check:
name: Fail Check
needs: [ test1, test2 ]
if: failure() && github.event_name == 'push'
runs-on: ubuntu-latest
steos:
- run: echo failure