diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index 705d11ec2..5166990f7 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -25,7 +25,7 @@ jobs: - name: Generate App Token id: token_generator - uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1 + uses: actions/create-github-app-token@136412a57a7081aa63c935a2cc2918f76c34f514 # v1.11.2 with: app-id: ${{ secrets.OURANOS_HELPER_BOT_ID }} private-key: ${{ secrets.OURANOS_HELPER_BOT_KEY }} diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index a2c9ec587..b47eb9364 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -48,7 +48,7 @@ jobs: pypi.org:443 - name: Generate App Token id: token_generator - uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1 + uses: actions/create-github-app-token@136412a57a7081aa63c935a2cc2918f76c34f514 # v1.11.2 with: app-id: ${{ secrets.OURANOS_HELPER_BOT_ID }} private-key: ${{ secrets.OURANOS_HELPER_BOT_KEY }} @@ -58,7 +58,7 @@ jobs: token: ${{ steps.token_generator.outputs.token }} persist-credentials: false - name: Set up Python3 - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: "3.x" - name: Import GPG Key diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 6f457422d..0b895bcdd 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -34,7 +34,7 @@ jobs: sum.golang.org:443 - name: Start Energy Measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: start-measurement branch: ${{ github.head_ref || github.ref_name }} @@ -48,14 +48,14 @@ jobs: uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0 - name: Energy Measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Dependency Review' continue-on-error: true - name: Show Energy Results - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: display-results continue-on-error: true diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cfabedff6..b3b13b7e1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,7 +56,7 @@ jobs: pypi.org:443 sum.golang.org:443 - name: Start Measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: start-measurement branch: ${{ github.head_ref || github.ref_name }} @@ -66,7 +66,7 @@ jobs: with: persist-credentials: false - name: Set up Python3 - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: "3.x" cache: 'pip' @@ -74,7 +74,7 @@ jobs: run: | python -m pip install --require-hashes -r CI/requirements_ci.txt - name: Setup Python Measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Environment setup (Python${{ matrix.python-version }}, lint)' @@ -93,13 +93,13 @@ jobs: run: | python -m tox -e lint - name: Tests measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Lint (Python${{ matrix.python-version }})' continue-on-error: true - name: Show Energy Results - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: display-results continue-on-error: true @@ -133,7 +133,7 @@ jobs: raw.githubusercontent.com:443 sum.golang.org:443 - name: Start Energy Measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: start-measurement branch: ${{ github.head_ref || github.ref_name }} @@ -143,7 +143,7 @@ jobs: with: persist-credentials: false - name: Set up Python${{ matrix.python-version }} - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ matrix.python-version }} cache: 'pip' @@ -151,7 +151,7 @@ jobs: run: | python -m pip install --require-hashes -r CI/requirements_ci.txt - name: Environment Setup Energy Measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Environment setup (Python${{ matrix.python-version }}, standard)' @@ -171,13 +171,13 @@ jobs: COVERALLS_FLAG_NAME: run-${{ matrix.python-version }}-ubuntu-latest-preliminary COVERALLS_PARALLEL: true - name: Tests measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Testing with tox (Python${{ matrix.python-version }})' continue-on-error: true - name: Show Energy Results - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: display-results continue-on-error: true @@ -260,7 +260,7 @@ jobs: sum.golang.org:443 - name: Start Energy Measurement if : ${{ matrix.os == 'ubuntu-latest' }} - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: start-measurement branch: ${{ github.head_ref || github.ref_name }} @@ -275,7 +275,7 @@ jobs: sudo apt-get update sudo apt-get install libeigen3-dev - name: Set up Python${{ matrix.python-version }} - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ matrix.python-version }} cache: 'pip' @@ -284,7 +284,7 @@ jobs: python -m pip install --require-hashes -r CI/requirements_ci.txt - name: Environment Setup Energy Measurement if : ${{ matrix.os == 'ubuntu-latest' }} - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Environment setup (Python${{ matrix.python-version }}, ${{ matrix.tox-env }})' @@ -316,14 +316,14 @@ jobs: COVERALLS_PARALLEL: true - name: Tests measurement if : ${{ matrix.os == 'ubuntu-latest' }} - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Testing with tox (Python${{ matrix.python-version }}, ${{ matrix.tox-env }})' continue-on-error: true - name: Show Energy Results if : ${{ matrix.os == 'ubuntu-latest' }} - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: display-results continue-on-error: true @@ -366,7 +366,7 @@ jobs: raw.githubusercontent.com:443 sum.golang.org:443 - name: Start Energy Measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: start-measurement branch: ${{ github.head_ref || github.ref_name }} @@ -398,7 +398,7 @@ jobs: xclim show_version_info python -m pip check || true - name: Environment Setup Energy Measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Environment setup (conda, Python${{ matrix.python-version }})' @@ -414,13 +414,13 @@ jobs: COVERALLS_FLAG_NAME: run-{{ matrix.python-version }}-conda COVERALLS_PARALLEL: true - name: Tests measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Testing with pytest (conda, Python${{ matrix.python-version }})' continue-on-error: true - name: Show Energy Results - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: display-results continue-on-error: true @@ -454,7 +454,7 @@ jobs: pypi.org:443 sum.golang.org:443 - name: Start Energy Measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: start-measurement branch: ${{ github.head_ref || github.ref_name }} @@ -464,13 +464,13 @@ jobs: with: parallel-finished: true - name: Finish measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Finish Run' continue-on-error: true - name: Show Energy Results - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: display-results continue-on-error: true diff --git a/.github/workflows/publish-mastodon.yml b/.github/workflows/publish-mastodon.yml index 4e4a8c58d..9ba0b307a 100644 --- a/.github/workflows/publish-mastodon.yml +++ b/.github/workflows/publish-mastodon.yml @@ -65,7 +65,7 @@ jobs: CONTRIBUTORS: ${{ env.contributors }} - name: Send toot to Mastodon - uses: cbrgm/mastodon-github-action@50b70e53ab0871a90fe364ff96e783c7e3633f15 # v2.1.11 + uses: cbrgm/mastodon-github-action@e63ca54c7fe6e142917c5946620383200f376855 # v2.1.12 with: url: ${{ secrets.MASTODON_URL }} access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }} diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index daefc9575..e676917a3 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -33,7 +33,7 @@ jobs: with: persist-credentials: false - name: Set up Python3 - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: "3.x" - name: Install CI libraries diff --git a/.github/workflows/tag-testpypi.yml b/.github/workflows/tag-testpypi.yml index 83ede6ac0..635b816b3 100644 --- a/.github/workflows/tag-testpypi.yml +++ b/.github/workflows/tag-testpypi.yml @@ -33,7 +33,7 @@ jobs: with: persist-credentials: false - name: Set up Python3 - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: "3.x" - name: Install CI libraries diff --git a/.github/workflows/upstream.yml b/.github/workflows/upstream.yml index 23d497d72..d7a02493b 100644 --- a/.github/workflows/upstream.yml +++ b/.github/workflows/upstream.yml @@ -61,7 +61,7 @@ jobs: repo.anaconda.com:443 sum.golang.org:443 - name: Start Measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: start-measurement branch: ${{ github.head_ref || github.ref_name }} @@ -98,7 +98,7 @@ jobs: xclim show_version_info python -m pip check || true - name: Setup Python Measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Environment Setup (Upstream, Python${{ matrix.python-version }})' @@ -125,13 +125,13 @@ jobs: issue-title: "⚠️ Nightly upstream-dev CI failed for Python${{ matrix.python-version }} ⚠️" log-path: output-${{ matrix.python-version }}-log.jsonl - name: Tests measurement - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: get-measurement label: 'Testing and Reporting (Upstream, Python${{ matrix.python-version }})' continue-on-error: true - name: Show Energy Results - uses: green-coding-solutions/eco-ci-energy-estimation@2c74a687e9cc4cc4579ae752404a8d54cc46a06a # v4.3.0 + uses: green-coding-solutions/eco-ci-energy-estimation@7ff5628108e21227662ce881f10156eb9deab891 # v4.4 with: task: display-results continue-on-error: true