From 3a98dc8a95b15e7b61ac3bfcfe42776d98a20ebd Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 13 Apr 2020 10:14:52 -0400 Subject: [PATCH] run apt-get update before installing --- .github/workflows/main.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index aa23fc9f5..bea9fa1be 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: name: "tests / unit" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - uses: actions/setup-python@v1 with: python-version: '3.7' @@ -37,12 +37,14 @@ jobs: - blockchain - other steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - uses: actions/setup-python@v1 with: python-version: '3.7' - if: matrix.test == 'other' - run: sudo apt install -y --no-install-recommends ffmpeg + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends ffmpeg - run: pip install tox-travis - run: tox -e ${{ matrix.test }} @@ -57,7 +59,7 @@ jobs: - windows-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - uses: actions/setup-python@v1 with: python-version: '3.7'