Skip to content

Commit 6608bf4

Browse files
committed
Simplify workflow setup and update README
Updating workflow and README, all packages we need are available from apt sources, skipping both pip and gem. Supplement instructions in README and mention shortcut on Debian/Ubuntu. Signed-off-by: Joachim Wiberg <[email protected]>
1 parent f021fed commit 6608bf4

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,12 @@ jobs:
1717
with:
1818
python-version: '3.x'
1919

20-
- name: Install pip
21-
run: |
22-
python -m pip install --upgrade pip
23-
2420
- name: Install dependencies
2521
run: |
2622
sudo apt-get update
27-
sudo apt-get install -y tcl tcllib expect ruby ruby-dev build-essential
28-
pip install pyyaml
29-
gem install --user-install asciidoctor-pdf
30-
gem install --user-install rouge
31-
echo "PATH=$PATH:$(ruby -e 'puts Gem.user_dir')/bin" >> $GITHUB_ENV
23+
sudo apt-get install -y tcl tcllib expect ruby ruby-dev \
24+
build-essential python3-yaml python3-slugify \
25+
ruby-asciidoctor-pdf ruby-rouge
3226
3327
- name: Run Self Tests
3428
run: make check

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,13 @@
2727
2. Install dependencies:
2828
```bash
2929
pip install pyyaml
30+
gem install --user-install asciidoctor-pdf rouge
3031
```
3132

33+
> [!NOTE]
34+
> On Debian/Ubuntu systems you can use standard packages for the requirements:
35+
> `sudo apt install python3-yaml ruby-asciidoctor-pdf ruby-rouge`
36+
3237
---
3338

3439
## Usage

0 commit comments

Comments
 (0)