From 51e7a60b7a78f9c6cf99e31e8b9b17440bafe79a Mon Sep 17 00:00:00 2001 From: Antoine POPINEAU Date: Mon, 13 May 2024 18:15:16 +0200 Subject: [PATCH] Add manpage generation test run. --- .github/workflows/dev.yml | 5 ++++- .github/workflows/pr.yml | 5 ++++- .github/workflows/release.yml | 5 ++++- .github/workflows/tip.yml | 5 ++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 6b2a828..68ed7c3 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: | - sudo apt update && sudo apt install -y libnss-wrapper + sudo apt update && sudo apt install -y libnss-wrapper scdoc - uses: Swatinem/rust-cache@v2 - name: Test env: @@ -32,6 +32,9 @@ jobs: run: | cargo test LD_PRELOAD=libnss_wrapper.so cargo test --features nsswrapper nsswrapper_ + - name: Generate manpage + run: | + scdoc < contrib/man/tuigreet-1.scd > /dev/null build: strategy: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 268ee1a..fd90228 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: | - sudo apt update && sudo apt install -y libnss-wrapper + sudo apt update && sudo apt install -y libnss-wrapper scdoc - uses: Swatinem/rust-cache@v2 - name: Test env: @@ -32,6 +32,9 @@ jobs: run: | cargo test LD_PRELOAD=libnss_wrapper.so cargo test --features nsswrapper nsswrapper_ + - name: Generate manpage + run: | + scdoc < contrib/man/tuigreet-1.scd > /dev/null build: strategy: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e9eaa86..8902bae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: | - sudo apt update && sudo apt install -y libnss-wrapper + sudo apt update && sudo apt install -y libnss-wrapper scdoc - uses: Swatinem/rust-cache@v2 - name: Test env: @@ -32,6 +32,9 @@ jobs: run: | cargo test LD_PRELOAD=libnss_wrapper.so cargo test --features nsswrapper nsswrapper_ + - name: Generate manpage + run: | + scdoc < contrib/man/tuigreet-1.scd > /dev/null build: strategy: diff --git a/.github/workflows/tip.yml b/.github/workflows/tip.yml index e70de0f..81d93d4 100644 --- a/.github/workflows/tip.yml +++ b/.github/workflows/tip.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - run: | - sudo apt update && sudo apt install -y libnss-wrapper + sudo apt update && sudo apt install -y libnss-wrapper scdoc - uses: Swatinem/rust-cache@v2 - name: Test env: @@ -32,6 +32,9 @@ jobs: run: | cargo test LD_PRELOAD=libnss_wrapper.so cargo test --features nsswrapper nsswrapper_ + - name: Generate manpage + run: | + scdoc < contrib/man/tuigreet-1.scd > /dev/null build: strategy: