Skip to content

Commit eed9487

Browse files
committed
ci: clean-up scripts.
- use /bin/sh shebang for check-summary. Works just fine and avoids pulling in bash for the CI run - don't fetch upstream repository, not necessary - don't specify ubuntu version - use mini-x86_64-musl image to speed up container setup (mini-bb is having trouble with certs)
1 parent c65a2e0 commit eed9487

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on: pull_request
44
jobs:
55
only:
66
name: Check formatting and links
7-
runs-on: ubuntu-18.04
7+
runs-on: ubuntu-latest
88
container:
9-
image: ghcr.io/void-linux/void-linux:latest-full-x86_64-musl
9+
image: ghcr.io/void-linux/void-linux:latest-mini-x86_64-musl
1010
steps:
1111
- name: Prepare container
1212
run: |

res/ci/check-summary.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/sh
22

33
cd src/ || exit 2
44

res/ci/format.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#!/bin/sh
22

3-
# Fetch upstream
4-
git fetch git://github.com/void-linux/void-docs.git master
5-
63
echo "Checking links"
74
RUST_LOG=linkcheck=debug mdbook-linkcheck -s
85
LINKCHECK=$?

0 commit comments

Comments
 (0)