From f150f49aa57c69d2c25011187a6907999ec50f0f Mon Sep 17 00:00:00 2001 From: tbascoul Date: Tue, 28 Mar 2023 17:04:28 +0200 Subject: [PATCH] bump actions versions to v3 to fix warning Node.js 12 actions are deprecated --- .github/workflows/docs.yml | 6 +++--- .github/workflows/lint.yml | 4 ++-- .github/workflows/main.yml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 5287196b..75660918 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,10 +13,10 @@ jobs: if: ${{github.ref == 'refs/heads/main'}} steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: 3.x @@ -29,7 +29,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: gh-pages diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ea24e435..ddd1fad9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,9 +8,9 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: "3.10" - name: Install dependencies diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2191fe1..5439df21 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,10 +18,10 @@ jobs: name: ${{ fromJson('{"macos-latest":"macOS","windows-latest":"Windows","ubuntu-latest":"Ubuntu"}')[matrix.os] }} ${{ matrix.python-version }} ${{ matrix.nox-session}} steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set Up Python - ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} @@ -45,7 +45,7 @@ jobs: - name: 'Upload coverage report' if: ${{matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7' && github.ref == 'refs/heads/main'}} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: coverage path: docs/coverage