Skip to content

Add user input execution to CI #68

Add user input execution to CI

Add user input execution to CI #68

Workflow file for this run

---
name: CI
on: [ workflow_dispatch, push, pull_request ]
jobs:
omnilint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: docker://lpenz/omnilint:0.5.1
rust:
uses: lpenz/ghworkflow-rust/.github/workflows/[email protected]
with:
coveralls: true
publish_cratesio: false
publish_github_release: false
solve:
strategy:
matrix:
day:
- day01
- day02
part: [ a, b ]

Check failure on line 22 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 22, Col: 9): Unexpected value 'part'
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: solve ${{ matrix.day }}${{ matrix.part }}
run: |
cargo run \
--release \
-p ${{ matrix.day }} \
--bin ${{ matrix.day }}${{ matrix.part }} \
< ${{ matrix.day }}/input.txt