Skip to content

Remove the index from the test case loop; simplify the cases object (… #321

Remove the index from the test case loop; simplify the cases object (…

Remove the index from the test case loop; simplify the cases object (… #321

Workflow file for this run

# Run all tests for commits to master
name: jq / main
on:
push:
branches:
- main
jobs:
ci:
runs-on: ubuntu-26.04
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
- name: Install software
run: |
sudo apt update && sudo apt -y install bats &&
sudo curl -L -o /usr/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.8.0/jq-linux-amd64 &&
sudo chmod -v 755 /usr/bin/jq
- name: Run tests for all exercises
run: bash bin/validate_exercises