From dc222e3636432d39422cc7ba3b42ec832ef82f47 Mon Sep 17 00:00:00 2001
From: Nick Sweeting <git@sweeting.me>
Date: Fri, 11 Dec 2020 20:38:51 +0200
Subject: [PATCH] bump ubuntu version used for tests

---
 .github/workflows/debian.yml | 2 +-
 .github/workflows/test.yml   | 6 +++---
 stdeb.cfg                    | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml
index 2c0ff68a..d4c114b0 100644
--- a/.github/workflows/debian.yml
+++ b/.github/workflows/debian.yml
@@ -44,7 +44,7 @@ jobs:
 
       - name: Add some links to test
         run: |
-          mkdir data && cd data
+          mkdir "${{ github.workspace }}/data" && cd "${{ github.workspace }}/data"
           archivebox init
           archivebox add 'https://example.com'
           archivebox version
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 4a7eb205..e9f1d23a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,7 +13,7 @@ jobs:
 
     strategy:
       matrix:
-        os: [ubuntu-latest, macos-latest, windows-latest]
+        os: [ubuntu-20.04, macos-latest, windows-latest]
         python: [3.7]
 
     steps:
@@ -108,8 +108,8 @@ jobs:
 
       - name: Init data dir
         run: |
-          mkdir data
-          docker run -v "$PWD"/data:/data "$DOCKER_IMAGE" init
+          mkdir "${{ github.workspace }}/data"
+          docker run -v "${{ github.workspace }}/data":/data "$DOCKER_IMAGE" init
 
       - name: Run test server
         run: |
diff --git a/stdeb.cfg b/stdeb.cfg
index 37bbb42f..a07147e2 100644
--- a/stdeb.cfg
+++ b/stdeb.cfg
@@ -5,5 +5,5 @@ Package3: archivebox
 Suite: focal
 Suite3: focal
 Build-Depends: dh-python, python3-pip, python3-setuptools, python3-wheel, python3-stdeb
-Depends3: nodejs, chromium-browser, wget, curl, git, ffmpeg, youtube-dl, python3-atomicwrites, python3-croniter, python3-crontab, python3-dateparser, python3-django, python3-django-extensions, python3-mypy-extensions, python3-requests, python3-w3lib, ripgrep
+Depends3: nodejs, chromium-browser, wget, curl, git, ffmpeg, youtube-dl, python3-atomicwrites, python3-croniter, python3-crontab, python3-dateparser, python3-django, python3-django-extensions, python3-django-jsonfield, python3-mypy-extensions, python3-requests, python3-w3lib, ripgrep
 XS-Python-Version: >= 3.7