diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb00b752a..a544a8d94 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,12 +7,12 @@ jobs: name: lint runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: python-version: '3.7' - name: extract pip cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} @@ -31,15 +31,15 @@ jobs: - windows-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: python-version: '3.7' - name: set pip cache dir id: pip-cache run: echo "::set-output name=dir::$(pip cache dir)" - name: extract pip cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} @@ -93,8 +93,8 @@ jobs: uses: elastic/elastic-github-actions/elasticsearch@master with: stack-version: 7.12.1 - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: python-version: '3.7' - if: matrix.test == 'other' @@ -102,7 +102,7 @@ jobs: sudo apt-get update sudo apt-get install -y --no-install-recommends ffmpeg - name: extract pip cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ./.tox key: tox-integration-${{ matrix.test }}-${{ hashFiles('setup.py') }} @@ -143,8 +143,8 @@ jobs: - windows-latest runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 with: python-version: '3.7' - id: os-name @@ -155,7 +155,7 @@ jobs: id: pip-cache run: echo "::set-output name=dir::$(pip cache dir)" - name: extract pip cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }}