Skip to content

Commit 1a5905e

Browse files
committed
add lychee link checker to CI workflow
1 parent b5e5534 commit 1a5905e

File tree

1 file changed

+27
-3
lines changed

1 file changed

+27
-3
lines changed

.github/workflows/nestbuildmatrix.yml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,40 @@ jobs:
102102
- name: "Install dependencies"
103103
run: |
104104
sudo apt install python3-docutils
105-
wget --progress=dot:mega "https://github.com/errata-ai/vale/releases/download/v2.15.2/vale_2.15.2_Linux_64-bit.tar.gz"
106-
echo "7528175c995818bcb88b07574dd2e17c1aad13f5676880f43927bb8f673095aa vale_2.15.2_Linux_64-bit.tar.gz" | sha256sum -c
107-
tar -xzf vale_2.15.2_Linux_64-bit.tar.gz
105+
wget --progress=dot:mega 'https://github.com/errata-ai/vale/releases/download/v2.15.2/vale_2.15.2_Linux_64-bit.tar.gz'
106+
echo '7528175c995818bcb88b07574dd2e17c1aad13f5676880f43927bb8f673095aa vale_2.15.2_Linux_64-bit.tar.gz' | sha256sum -c
107+
tar -xzf 'vale_2.15.2_Linux_64-bit.tar.gz'
108108
109109
- name: "Run vale..."
110110
run: |
111111
echo "Starting vale..."
112112
./vale -v
113113
./vale doc
114114
115+
lychee:
116+
runs-on: "ubuntu-20.04"
117+
steps:
118+
- name: "Checkout repository content"
119+
uses: actions/checkout@v2
120+
with:
121+
fetch-depth: 0
122+
123+
#- name: "Set up Python 3.x"
124+
# uses: actions/setup-python@v3
125+
# with:
126+
# python-version: 3.9
127+
128+
- name: "Install dependencies"
129+
run: |
130+
#sudo apt install python3-docutils
131+
wget --progress=dot:mega 'https://github.com/lycheeverse/lychee/releases/download/v0.8.2/lychee-v0.8.2-x86_64-unknown-linux-gnu.tar.gz'
132+
echo '12c27c9b6d551aea9178080d27de75ed26125b130722153399259432f723e606 lychee-v0.8.2-x86_64-unknown-linux-gnu.tar.gz' | sha256sum -c
133+
tar -xzf 'lychee-v0.8.2-x86_64-unknown-linux-gnu.tar.gz'
134+
135+
- name: "Run lychee..."
136+
run: |
137+
./lychee .
138+
115139
pydocstyle:
116140
runs-on: "ubuntu-20.04"
117141
steps:

0 commit comments

Comments
 (0)