diff --git a/.github/actions/install-conda/action.yml b/.github/actions/install-conda/action.yml index 06166dbfdd0..cee731bf989 100644 --- a/.github/actions/install-conda/action.yml +++ b/.github/actions/install-conda/action.yml @@ -11,7 +11,7 @@ runs: using: composite steps: - name: Setup conda caching - uses: actions/cache@v2.1.6 + uses: actions/cache@v2 with: path: ~/conda_pkgs_dir key: conda-${{ inputs.type }}-${{ runner.os }}-${{ inputs.python-version}}-${{ hashFiles('ci/*') }} @@ -21,7 +21,7 @@ runs: conda-${{ inputs.type }}- - name: Set up Python ${{ inputs.python-version }} - uses: conda-incubator/setup-miniconda@v2.1.1 + uses: conda-incubator/setup-miniconda@v2 with: miniforge-version: latest miniforge-variant: mambaforge diff --git a/.github/actions/install-pypi/action.yml b/.github/actions/install-pypi/action.yml index 56e3bb2d76c..672e8b33f1b 100644 --- a/.github/actions/install-pypi/action.yml +++ b/.github/actions/install-pypi/action.yml @@ -20,7 +20,7 @@ runs: using: composite steps: - name: Set up Python ${{ inputs.python-version }} - uses: actions/setup-python@v2.2.2 + uses: actions/setup-python@v2 with: python-version: ${{ inputs.python-version }} cache: 'pip' diff --git a/.github/actions/run-tests/action.yml b/.github/actions/run-tests/action.yml index 0cc5ec14587..48e68585065 100644 --- a/.github/actions/run-tests/action.yml +++ b/.github/actions/run-tests/action.yml @@ -50,6 +50,6 @@ runs: - name: Upload coverage if: ${{ always() && inputs.upload-coverage == 'true' }} - uses: codecov/codecov-action@v2.1.0 + uses: codecov/codecov-action@v2 with: name: ${{ inputs.key }} diff --git a/.github/actions/setup-proj/action.yml b/.github/actions/setup-proj/action.yml index f2efb2fc508..3a698f0c06c 100644 --- a/.github/actions/setup-proj/action.yml +++ b/.github/actions/setup-proj/action.yml @@ -13,7 +13,7 @@ runs: using: composite steps: - name: Set up caching - uses: actions/cache@v2.1.6 + uses: actions/cache@v2 id: cache-proj with: path: ~/${{ inputs.install-path }} diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml index 5606a5cee15..c5eee131900 100644 --- a/.github/workflows/code-analysis.yml +++ b/.github/workflows/code-analysis.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v2 - name: Initialize CodeQL uses: github/codeql-action/init@v1 diff --git a/.github/workflows/docs-conda.yml b/.github/workflows/docs-conda.yml index d5c16556067..c4ba43e1a98 100644 --- a/.github/workflows/docs-conda.yml +++ b/.github/workflows/docs-conda.yml @@ -27,7 +27,7 @@ jobs: steps: # We check out only a limited depth and then pull tags to save time - name: Checkout source - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v2 with: fetch-depth: 100 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8082f73a301..85c1454a067 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -38,7 +38,7 @@ jobs: steps: # We check out only a limited depth and then pull tags to save time - name: Checkout source - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v2 with: fetch-depth: 100 @@ -85,7 +85,7 @@ jobs: run: echo "DOC_VERSION=v${{ needs.Docs.outputs.doc-version }}" >> $GITHUB_ENV - name: Upload to GitHub Pages - uses: peaceiris/actions-gh-pages@v3.8.0 + uses: peaceiris/actions-gh-pages@v3 with: deploy_key: ${{ secrets.GHPAGES_DEPLOY_KEY }} publish_dir: ./docs/build/html diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 065e321f7c1..24599a7f134 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -9,10 +9,10 @@ jobs: name: Flake8 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v2 - name: Set up Python 3 - uses: actions/setup-python@v2.3.0 + uses: actions/setup-python@v2 with: python-version: 3.x cache: 'pip' diff --git a/.github/workflows/nightly-builds.yml b/.github/workflows/nightly-builds.yml index 3404ecfe991..d3abf6422be 100644 --- a/.github/workflows/nightly-builds.yml +++ b/.github/workflows/nightly-builds.yml @@ -21,7 +21,7 @@ jobs: steps: # We check out only a limited depth and then pull tags to save time - name: Checkout source - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v2 with: fetch-depth: 100 @@ -70,7 +70,7 @@ jobs: steps: # We check out only a limited depth and then pull tags to save time - name: Checkout source - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v2 with: fetch-depth: 100 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ffecc7905b8..67d3cb10520 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: url: https://pypi.org/project/MetPy/ runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v2 with: fetch-depth: 10 @@ -21,7 +21,7 @@ jobs: run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Set up Python - uses: actions/setup-python@v2.3.0 + uses: actions/setup-python@v2 with: python-version: 3.x diff --git a/.github/workflows/tests-conda.yml b/.github/workflows/tests-conda.yml index ec4e6da867f..6782654a6fb 100644 --- a/.github/workflows/tests-conda.yml +++ b/.github/workflows/tests-conda.yml @@ -26,7 +26,7 @@ jobs: steps: # We check out only a limited depth and then pull tags to save time - name: Checkout source - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v2 with: fetch-depth: 100 diff --git a/.github/workflows/tests-pypi.yml b/.github/workflows/tests-pypi.yml index 703ac7d8ae2..d7facbe9455 100644 --- a/.github/workflows/tests-pypi.yml +++ b/.github/workflows/tests-pypi.yml @@ -31,7 +31,7 @@ jobs: steps: # We check out only a limited depth and then pull tags to save time - name: Checkout source - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v2 with: fetch-depth: 100