From 52ba6085855916703a6c022ad772b5e85f83cda7 Mon Sep 17 00:00:00 2001 From: Gabriele Bozzola Date: Tue, 2 May 2023 10:48:45 -0700 Subject: [PATCH] CI: Update action versions --- .github/workflows/document.yml | 6 +++--- .github/workflows/lint.yml | 4 ++-- .github/workflows/publish.yml | 6 +++--- .github/workflows/test.yml | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/document.yml b/.github/workflows/document.yml index aebfe507..547c414d 100644 --- a/.github/workflows/document.yml +++ b/.github/workflows/document.yml @@ -9,12 +9,12 @@ jobs: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 1 - name: Set up Python 3.8 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.8 @@ -25,7 +25,7 @@ jobs: virtualenvs-in-project: true - name: Load cached Poetry virtualenv - uses: actions/cache@v2 + uses: actions/cache@v3 id: cached-poetry-dependencies with: path: .venv diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cf303f0a..2c08b8a1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,12 +11,12 @@ jobs: python-version: [ '3.8' ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 1 - name: Set up Python 3.8 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e95d05d3..cdb078d2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,12 +9,12 @@ jobs: if: startsWith(github.ref, 'refs/tags/') steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 1 - name: Set up Python 3.8 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.8 @@ -25,7 +25,7 @@ jobs: virtualenvs-in-project: true - name: Load cached Poetry virtualenv - uses: actions/cache@v2 + uses: actions/cache@v3 id: cached-poetry-dependencies with: path: .venv diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eee7cafc..2ebdad66 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,12 +11,12 @@ jobs: python-version: [ '3.7', '3.8', '3.11' ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 1 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -28,7 +28,7 @@ jobs: virtualenvs-in-project: true - name: Load cached Poetry virtualenv - uses: actions/cache@v2 + uses: actions/cache@v3 id: cached-poetry-dependencies with: path: .venv @@ -46,7 +46,7 @@ jobs: poetry run coverage xml - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 if: runner.python-version == '3.8' && github.event_name != 'pull_request' with: file: coverage.xml