Skip to content

Commit 29b5715

Browse files
authored
Update the PPT (#615)
* Add labels to the dependency versions * Updates * More fixes
1 parent c4b8327 commit 29b5715

15 files changed

Lines changed: 67 additions & 67 deletions

‎.github/workflows/add-issue-to-project.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Add issue to project
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/add-to-project@5afcf98fcd03f1c2f92c3c83f58ae24323cc57fd
15+
- uses: actions/add-to-project@5afcf98fcd03f1c2f92c3c83f58ae24323cc57fd # v2.0.0
1616
with:
1717
# You can target a repository in a different organization
1818
# to the issue

‎.github/workflows/pre-commit-ci.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@ jobs:
1818
permissions:
1919
contents: read
2020
steps:
21-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
21+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2222
with:
2323
fetch-depth: 0
2424
persist-credentials: false
2525
- name: Set up Python
26-
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
26+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2727
with:
2828
python-version: '3.11'
2929
- name: Install uv
30-
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
30+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
3131
- name: Install dependencies
3232
run: |
3333
sudo apt-get update
3434
uv pip install --system .[dev]
3535
if [ -f requirements.txt ]; then uv pip install --system -r requirements.txt; fi
36-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd
36+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
3737
with:
3838
extra_args: --all-files --verbose
3939
env:
4040
SKIP: "check-lincc-frameworks-template-version,no-commit-to-branch,check-added-large-files,validate-pyproject,sphinx-build,pytest-check"
41-
- uses: pre-commit-ci/lite-action@062bca0919bc9d6e66755cc05074b70c77e111fc
41+
- uses: pre-commit-ci/lite-action@062bca0919bc9d6e66755cc05074b70c77e111fc # v1.2.0
4242
if: failure() && github.event_name == 'pull_request' && github.event.pull_request.draft == false

‎.github/workflows/smoke-test.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.15']
2727

2828
steps:
29-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
29+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3030
with:
3131
persist-credentials: false
3232
- name: Set up Python ${{ matrix.python-version }}
33-
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
33+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3434
with:
3535
python-version: ${{ matrix.python-version }}
3636
- name: Install uv
37-
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
37+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
3838
- name: Install dependencies
3939
run: |
4040
sudo apt-get update
@@ -50,7 +50,7 @@ jobs:
5050
- name: Send status to Slack app
5151
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
5252
id: slack
53-
uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d
53+
uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0
5454
with:
5555
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}
5656
webhook-type: webhook-trigger

‎.github/workflows/testing-and-coverage.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ jobs:
2222
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', '3.15']
2323

2424
steps:
25-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
25+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2626
with:
2727
fetch-depth: 0
2828
persist-credentials: false
2929
- name: Set up Python ${{ matrix.python-version }}
30-
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
30+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333
- name: Install uv
34-
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
34+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
3535
- name: Install dependencies
3636
run: |
3737
sudo apt-get update

‎python-project-template/.github/workflows/pre-commit-ci.yml.jinja‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@ jobs:
1818
permissions:
1919
contents: read
2020
steps:
21-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
21+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2222
with:
2323
fetch-depth: 0
2424
persist-credentials: false
2525
- name: Set up Python
26-
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
26+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2727
with:
2828
python-version: '{{ py.pref(python_versions) }}'
2929
- name: Install uv
30-
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
30+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
3131
- name: Install dependencies
3232
run: |
3333
sudo apt-get update
3434
uv pip install --system .[dev]
3535
if [ -f requirements.txt ]; then uv pip install --system -r requirements.txt; fi
36-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd
36+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
3737
with:
3838
extra_args: --all-files --verbose
3939
env:
4040
SKIP: "check-lincc-frameworks-template-version,no-commit-to-branch,check-added-large-files,validate-pyproject,sphinx-build,pytest-check"
41-
- uses: pre-commit-ci/lite-action@062bca0919bc9d6e66755cc05074b70c77e111fc
41+
- uses: pre-commit-ci/lite-action@062bca0919bc9d6e66755cc05074b70c77e111fc # v1.2.0
4242
if: failure() && github.event_name == 'pull_request' && github.event.pull_request.draft == false

‎python-project-template/.github/workflows/{% if contains_code %}publish-to-pypi.yml{% endif %}.jinja‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
permissions:
2424
id-token: write
2525
steps:
26-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
26+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2727
with:
2828
persist-credentials: false
2929
- name: Set up Python
30-
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
30+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3131
with:
3232
python-version: '{{ py.pref(python_versions) }}'
3333
- name: Install dependencies
@@ -37,4 +37,4 @@ jobs:
3737
- name: Build package
3838
run: python -m build
3939
- name: Publish package
40-
uses: pypa/gh-action-pypi-publish@release/v1
40+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2

‎python-project-template/.github/workflows/{% if contains_code %}smoke-test.yml{% endif %}.jinja‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
# Runs this workflow automatically
1111
schedule:
1212
- cron: 45 6 * * *
13-
13+
1414
# Allows you to run this workflow manually from the Actions tab
1515
workflow_dispatch:
1616

@@ -27,15 +27,15 @@ jobs:
2727
python-version: {{ python_versions }}
2828

2929
steps:
30-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
30+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3131
with:
3232
persist-credentials: false
3333
- name: Set up Python {% raw %}${{ matrix.python-version }}{% endraw %}
34-
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
34+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3535
with:
3636
python-version: {% raw %}${{ matrix.python-version }}{% endraw %}
3737
- name: Install uv
38-
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
38+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
3939
- name: Install dependencies
4040
run: |
4141
sudo apt-get update
@@ -50,7 +50,7 @@ jobs:
5050
{%- if 'email' in failure_notification %}
5151
- name: Send status to author's email
5252
if: {% raw %}${{ failure() }} && github.event_name != 'workflow_dispatch' }}{% endraw %} # Only email if the workflow failed and was not manually started. Customize this as necessary.
53-
uses: dawidd6/action-send-mail@67ce3558d613188179559c61d3565140cf389968
53+
uses: dawidd6/action-send-mail@67ce3558d613188179559c61d3565140cf389968 # v22
5454
with:
5555
# Required mail server address if not connection_url:
5656
server_address: smtp.gmail.com
@@ -87,7 +87,7 @@ jobs:
8787
- name: Send status to Slack app
8888
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
8989
id: slack
90-
uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d
90+
uses: slackapi/slack-github-action@dcb1066f776dd043e64d0e8ba94ca15cc7e1875d # v4.0.0
9191
with:
9292
# For posting a rich message using Block Kit
9393
webhook: ${{ secrets.SLACK_WEBHOOK_URL }}

‎python-project-template/.github/workflows/{% if contains_code %}testing-and-coverage.yml{% endif %}.jinja‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ jobs:
2424
python-version: {{ python_versions }}
2525

2626
steps:
27-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
27+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2828
with:
2929
persist-credentials: false
3030
- name: Set up Python {% raw %}${{ matrix.python-version }}{% endraw %}
31-
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
31+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3232
with:
3333
python-version: {% raw %}${{ matrix.python-version }}{% endraw %}
3434
- name: Install uv
35-
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884
35+
uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
3636
- name: Install dependencies
3737
run: |
3838
sudo apt-get update
@@ -42,18 +42,18 @@ jobs:
4242
run: |
4343
python -m pytest -o log_cli=true -vv --cov={{package_name}} --cov-report=xml
4444
- name: Upload coverage report to codecov
45-
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5
45+
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
4646
with:
4747
token: {% raw %}${{ secrets.CODECOV_TOKEN }}{% endraw %}
4848
{%- if test_lowest_version != 'none' %}
4949
test-lowest-versions:
5050
runs-on: ubuntu-latest
5151
steps:
52-
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
52+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5353
with:
5454
persist-credentials: false
5555
- name: Set up Python {{ py.min(python_versions) }}
56-
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
56+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
5757
with:
5858
python-version: '{{ py.min(python_versions) }}'
5959
- name: Install dependencies

‎python-project-template/.github/workflows/{% if include_benchmarks %}asv-main.yml{% endif %}.jinja‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{%- raw -%}
2-
# This workflow will run benchmarks with airspeed velocity (asv),
2+
# This workflow will run benchmarks with airspeed velocity (asv),
33
# store the new results in the "benchmarks" branch and publish them
44
# to a dashboard on GH Pages.
55
name: Run ASV benchmarks for main
@@ -32,16 +32,16 @@ jobs:
3232
working-directory: ${{env.WORKING_DIR}}
3333
steps:
3434
- name: Set up Python ${{env.PYTHON_VERSION}}
35-
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
35+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3636
with:
3737
python-version: ${{env.PYTHON_VERSION}}
3838
- name: Checkout main branch of the repository
39-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
39+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4040
with:
4141
fetch-depth: 0
4242
persist-credentials: false
4343
- name: Install dependencies
44-
run: pip install asv[virtualenv]==${{env.ASV_VERSION}}
44+
run: pip install asv==${{env.ASV_VERSION}}
4545
- name: Configure git
4646
run: |
4747
git config user.name "github-actions[bot]"
@@ -59,7 +59,7 @@ jobs:
5959
- name: Run ASV for the main branch
6060
run: asv run ALL --skip-existing --verbose || true
6161
- name: Submit new results to the "benchmarks" branch
62-
uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445
62+
uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0
6363
with:
6464
branch: benchmarks
6565
folder: ${{env.WORKING_DIR}}/_results
@@ -69,7 +69,7 @@ jobs:
6969
asv show
7070
asv publish
7171
- name: Deploy to Github pages
72-
uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445
72+
uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0
7373
with:
7474
branch: gh-pages
7575
folder: ${{env.WORKING_DIR}}/_html

‎python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ jobs:
3030
working-directory: ${{env.WORKING_DIR}}
3131
steps:
3232
- name: Set up Python ${{env.PYTHON_VERSION}}
33-
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
33+
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
3434
with:
3535
python-version: ${{env.PYTHON_VERSION}}
3636
- name: Checkout main branch of the repository
37-
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
37+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3838
with:
3939
fetch-depth: 0
4040
persist-credentials: false
4141
- name: Install dependencies
42-
run: pip install asv[virtualenv]==${{env.ASV_VERSION}}
42+
run: pip install asv==${{env.ASV_VERSION}}
4343
- name: Configure git
4444
run: |
4545
git config user.name "github-actions[bot]"
@@ -60,7 +60,7 @@ jobs:
6060
echo "yesterday=$(date -d yesterday +'%Y-%m-%d')" >> $GITHUB_OUTPUT
6161
echo "today=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
6262
- name: Use last nightly commit hash from cache
63-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
63+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
6464
with:
6565
path: ${{env.WORKING_DIR}}
6666
key: nightly-results-${{steps.nightly-dates.outputs.yesterday}}
@@ -75,7 +75,7 @@ jobs:
7575
fi
7676
echo $CURRENT_HASH > $HASH_FILE
7777
- name: Update last nightly hash in cache
78-
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9
78+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
7979
with:
8080
path: ${{env.WORKING_DIR}}
8181
key: nightly-results-${{steps.nightly-dates.outputs.today}}

0 commit comments

Comments
 (0)