[Docs] Clarify the behvior of first, last, and nth on empty generators #939
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: decnum | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
disabled: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y automake autoconf libtool | |
- name: Build | |
run: | | |
autoreconf -i | |
./configure \ | |
--disable-docs \ | |
--disable-maintainer-mode \ | |
--disable-decnum | |
make -j"$(nproc)" | |
make check | |
file ./jq | |
- name: Test | |
run: | | |
diff <(echo 100000000000000000000 | ./jq) <(echo 1e+20) | |
git diff --exit-code |