Skip to content

Day 25a

Day 25a #138

Workflow file for this run

---
name: CI
on: [ workflow_dispatch, push, pull_request ]
jobs:
omnilint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: docker://lpenz/omnilint:0.5.1
rust:
uses: lpenz/ghworkflow-rust/.github/workflows/rust.yml@devel
with:
dependencies_debian: [ 'libz3-dev' ]

Check failure on line 13 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: 13, Col: 28): A sequence was not expected
coveralls: true
publish_cratesio: false
publish_github_release: false
solve:
strategy:
matrix:
day:
- day01
- day02
- day03
- day04
- day05
- day06
- day07
- day08
- day09
- day10
- day11
- day12
- day13
- day14
- day15
- day16
- day17
- day18
- day19
- day20
- day21
- day22
- day23
- day24
- day25
# end
if: github.ref == 'refs/heads/main'
needs: [ omnilint, rust ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: build ${{ matrix.day }}
run: |
cargo build \
--release \
-p ${{ matrix.day }}
- name: solve ${{ matrix.day }}
run: |
for part in a b; do
bin="./target/release/${{ matrix.day }}$part"
if [ -x "$bin" ]; then
(set -x; "$bin" < ${{ matrix.day }}/input.txt) 2>&1 | tee -a "$GITHUB_STEP_SUMMARY"
fi
done