Skip to content

Commit b6fae6d

Browse files
authored
Bump all GitHub Actions to latest semver (#629)
Think immutable releases may become more common so may as well prepare for that https://astral.sh/blog/open-source-security-at-astral
1 parent f30ae41 commit b6fae6d

11 files changed

Lines changed: 39 additions & 39 deletions

File tree

.github/workflows/links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
18+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1919

2020
- name: Link Checker
2121
id: lychee

.github/workflows/linting.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout source
15-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
15+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1616

1717
- name: Cache pre-commit
18-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
18+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
1919
with:
2020
path: ~/.cache/pre-commit
2121
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
2222

2323
- name: Set up python
24-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
24+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2525
with:
2626
python-version: "3.x"
2727

@@ -35,16 +35,16 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- name: Checkout source
38-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
38+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3939

4040
- name: Cache pre-commit
41-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
41+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
4242
with:
4343
path: ~/.cache/pre-commit
4444
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
4545

4646
- name: Set up python
47-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
47+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4848
with:
4949
python-version: "3.x"
5050

@@ -64,7 +64,7 @@ jobs:
6464
runs-on: ubuntu-latest
6565
steps:
6666
- name: Checkout source
67-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
67+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
6868

6969
- name: Run Vale
7070
uses: vale-cli/vale-action@85f9f7f2c5f449ac0ae5b66662961bae3f77ca6a # v2.1.2

.github/workflows/pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ jobs:
3333
BUNDLE_GEMFILE: ${{ github.workspace }}/docs/Gemfile
3434
steps:
3535
- name: Checkout
36-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
36+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3737
- name: Setup Ruby
38-
uses: ruby/setup-ruby@v1
38+
uses: ruby/setup-ruby@12fd324f1d0b43274fdc8130f6980590a667c455 # v1.312.0
3939
with:
4040
ruby-version: "3.4.9" # Not needed with a .ruby-version file
4141
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
4242
cache-version: 0 # Increment this number if you need to re-download cached gems
4343
- name: Setup Pages
4444
id: pages
45-
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
45+
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
4646
with:
4747
generator_config_file: docs/_config.yml
4848
- name: Build with Jekyll
@@ -53,7 +53,7 @@ jobs:
5353
JEKYLL_ENV: production
5454
- name: Upload artifact
5555
# Automatically uploads an artifact from the './_site' directory by default
56-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
56+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
5757
with:
5858
path: docs/_site
5959

@@ -68,4 +68,4 @@ jobs:
6868
steps:
6969
- name: Deploy to GitHub Pages
7070
id: deployment
71-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
71+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
contents: write
1717
steps:
1818
- name: Checkout source
19-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
19+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2020
with:
2121
fetch-depth: 0
2222

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ jobs:
3030

3131
steps:
3232
- name: Checkout source
33-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
33+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3434

3535
- name: Cache tox
36-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
36+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3737
with:
3838
path: .tox
3939
key: test-${{ hashFiles('pyproject.toml') }}
4040

4141
- name: Set up Python ${{ matrix.python-version }}
42-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
42+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4343
with:
4444
python-version: ${{ matrix.python-version }}
4545
cache: pip

tests/data/test_package_generation/.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout source
14-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
14+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1515

1616
- name: Cache tox
17-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
17+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
1818
with:
1919
path: .tox
2020
key: tox-${{ hashFiles('pyproject.toml') }}
2121

2222
- name: Set up Python
23-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
23+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2424
with:
2525
python-version: "3.x"
2626
cache: "pip"
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Upload built docs as artifact
3636
id: deployment
37-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
37+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
3838
with:
3939
path: site
4040

@@ -51,4 +51,4 @@ jobs:
5151
steps:
5252
- name: Deploy to GitHub Pages
5353
id: deployment
54-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
54+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0

tests/data/test_package_generation/.github/workflows/linting.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout source
14-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
14+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1515

1616
- name: Cache pre-commit
17-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
17+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
1818
with:
1919
path: ~/.cache/pre-commit
2020
key: pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
2121

2222
- name: Set up python
23-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
23+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2424
with:
2525
python-version: "3.x"
2626
cache: pip

tests/data/test_package_generation/.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121

2222
steps:
2323
- name: Checkout source
24-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
24+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
2525

2626
- name: Cache tox
27-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
27+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
2828
with:
2929
path: .tox
3030
key: tox-${{hashFiles('pyproject.toml') }}
3131

3232
- name: Set up python
33-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
33+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3434
with:
3535
python-version: ${{ matrix.python-version }}
3636
cache: pip

{{cookiecutter.project_slug}}/.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout source
14-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
14+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1515

1616
- name: Cache tox
17-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
17+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
1818
with:
1919
path: .tox
2020
key: tox-${{ '{{' }} hashFiles('pyproject.toml') {{ '}}' }}
2121

2222
- name: Set up Python
23-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
23+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2424
with:
2525
python-version: "3.x"
2626
cache: "pip"
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Upload built docs as artifact
3636
id: deployment
37-
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
37+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
3838
with:
3939
path: site
4040
{% if cookiecutter.deploy_docs_to_github_pages %}
@@ -51,5 +51,5 @@ jobs:
5151
steps:
5252
- name: Deploy to GitHub Pages
5353
id: deployment
54-
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4
54+
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
5555
{%- endif %}

{{cookiecutter.project_slug}}/.github/workflows/linting.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout source
14-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
14+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1515

1616
- name: Cache pre-commit
17-
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
17+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
1818
with:
1919
path: ~/.cache/pre-commit
2020
key: pre-commit-${{ '{{' }} hashFiles('.pre-commit-config.yaml') {{ '}}' }}
2121

2222
- name: Set up python
23-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
23+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2424
with:
2525
python-version: "3.x"
2626
cache: pip

0 commit comments

Comments
 (0)