From d81081843bb7c251202fd03481d9887c24ceb572 Mon Sep 17 00:00:00 2001 From: Zach Burnett Date: Thu, 27 Oct 2022 14:51:35 -0400 Subject: [PATCH] update actions versions (#7320) --- .github/workflows/cancel_workflows.yml | 3 +-- .github/workflows/changelog.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .github/workflows/ci_cron.yml | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cancel_workflows.yml b/.github/workflows/cancel_workflows.yml index 0816a08bfb..af9a4d7641 100644 --- a/.github/workflows/cancel_workflows.yml +++ b/.github/workflows/cancel_workflows.yml @@ -13,7 +13,6 @@ jobs: runs-on: ubuntu-latest if: ${{ github.event.workflow_run.event == 'pull_request' }} steps: - - name: Cancel previous runs - uses: styfle/cancel-workflow-action@3d86a7cc43670094ac248017207be0295edbc31d # 0.8.0 + - uses: styfle/cancel-workflow-action@v0.11.0 with: workflow_id: ${{ github.event.workflow.id }} diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index ebedec1835..6d0be9fbdf 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -9,7 +9,7 @@ jobs: name: Verify that a changelog entry exists for this pull request runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true - run: grep -P '\[[^\]]*#${{github.event.number}}[,\]]' CHANGES.rst diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b7f571c01..d934a66f47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,7 +79,7 @@ jobs: # toxenv: py39 steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -97,7 +97,7 @@ jobs: - name: Upload coverage to codecov if: ${{ contains(matrix.toxenv,'-cov') }} - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: file: ./coverage.xml flags: unit diff --git a/.github/workflows/ci_cron.yml b/.github/workflows/ci_cron.yml index 51c468d65c..1bde0ff2ee 100644 --- a/.github/workflows/ci_cron.yml +++ b/.github/workflows/ci_cron.yml @@ -31,7 +31,7 @@ jobs: sudo apt-get install graphviz texlive-latex-extra dvipng - name: Checkout the code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -49,7 +49,7 @@ jobs: - name: Upload coverage to codecov if: ${{ contains(matrix.toxenv,'-cov') }} - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: file: ./coverage.xml flags: unit